commit | c79a46bb6ed64c430507dd85421306cd9d881e31 | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olv@lunarg.com> | Wed Jan 28 14:00:47 2015 +0800 |
committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | Wed Feb 04 17:58:10 2015 -0700 |
tree | 8b4f17a90da4870579cd0f8fb8703e9bec3f9a0e | |
parent | 71fcc2dae2f302fd2e52836b4098b233762d56f8 [diff] [blame] |
xgl: fix constness of pointers
diff --git a/loader/loader.c b/loader/loader.c index 548a9aa..e505b1a 100644 --- a/loader/loader.c +++ b/loader/loader.c
@@ -625,7 +625,8 @@ return loader_get_layer_env(icd, gpu_index, layerNames); } - XGL_LAYER_CREATE_INFO *pCi = (XGL_LAYER_CREATE_INFO *) pCreateInfo->pNext; + const XGL_LAYER_CREATE_INFO *pCi = + (const XGL_LAYER_CREATE_INFO *) pCreateInfo->pNext; while (pCi) { if (pCi->sType == XGL_STRUCTURE_TYPE_LAYER_CREATE_INFO) {