aboutsummaryrefslogtreecommitdiff
path: root/layers/param_checker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'layers/param_checker.cpp')
-rw-r--r--layers/param_checker.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/layers/param_checker.cpp b/layers/param_checker.cpp
index 6da0f0c5..ebfe65fc 100644
--- a/layers/param_checker.cpp
+++ b/layers/param_checker.cpp
@@ -123,10 +123,10 @@ void PostCreateInstance(XGL_RESULT result, XGL_INSTANCE* pInstance)
}
}
-XGL_LAYER_EXPORT XGL_RESULT XGLAPI xglCreateInstance(const XGL_APPLICATION_INFO* pAppInfo, const XGL_ALLOC_CALLBACKS* pAllocCb, XGL_INSTANCE* pInstance)
+XGL_LAYER_EXPORT XGL_RESULT XGLAPI xglCreateInstance(const XGL_INSTANCE_CREATE_INFO* pCreateInfo, XGL_INSTANCE* pInstance)
{
- PreCreateInstance(pAppInfo, pAllocCb);
- XGL_RESULT result = nextTable.CreateInstance(pAppInfo, pAllocCb, pInstance);
+ PreCreateInstance(pCreateInfo->pAppInfo, pCreateInfo->pAllocCb);
+ XGL_RESULT result = nextTable.CreateInstance(pCreateInfo, pInstance);
PostCreateInstance(result, pInstance);
return result;
}