diff options
| author | Jon Ashburn <jon@lunarg.com> | 2014-10-17 15:31:22 -0600 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2014-10-29 18:01:59 -0600 |
| commit | ba8f3cce59eb1dd83f1649e1122d1980f8768dc3 (patch) | |
| tree | ce5a1585c8e447c3a08a2241daafd95d708b24e7 /include | |
| parent | 80d75878bafc753c979da68263b71e442c350b5c (diff) | |
| download | usermoji-ba8f3cce59eb1dd83f1649e1122d1980f8768dc3.tar.xz | |
Change GetProcAddr function signature to use XGL types.
Fix bug in GPA for basic_plugin.c .
Diffstat (limited to 'include')
| -rw-r--r-- | include/xgl.h | 2 | ||||
| -rw-r--r-- | include/xglLayer.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/xgl.h b/include/xgl.h index b810c046..64734e10 100644 --- a/include/xgl.h +++ b/include/xgl.h @@ -1761,7 +1761,7 @@ typedef struct _XGL_DISPATCH_INDIRECT_CMD // ------------------------------------------------------------------------------------------------ // API functions -void * XGLAPI xglGetProcAddr( +XGL_VOID * XGLAPI xglGetProcAddr( XGL_PHYSICAL_GPU gpu, const XGL_CHAR * pName); diff --git a/include/xglLayer.h b/include/xglLayer.h index f139fff4..3295c8de 100644 --- a/include/xglLayer.h +++ b/include/xglLayer.h @@ -15,7 +15,7 @@ # define XGL_LAYER_EXPORT #endif -typedef void * (XGLAPI *GetProcAddrType)(XGL_PHYSICAL_GPU gpu, const XGL_CHAR * pName); +typedef XGL_VOID * (XGLAPI *GetProcAddrType)(XGL_PHYSICAL_GPU gpu, const XGL_CHAR * pName); typedef XGL_RESULT (XGLAPI *InitAndEnumerateGpusType)(const XGL_APPLICATION_INFO* pAppInfo, const XGL_ALLOC_CALLBACKS* pAllocCb, XGL_UINT maxGpus, XGL_UINT* pGpuCount, XGL_PHYSICAL_GPU* pGpus); typedef XGL_RESULT (XGLAPI *GetGpuInfoType)(XGL_PHYSICAL_GPU gpu, XGL_PHYSICAL_GPU_INFO_TYPE infoType, XGL_SIZE* pDataSize, XGL_VOID* pData); typedef XGL_RESULT (XGLAPI *CreateDeviceType)(XGL_PHYSICAL_GPU gpu, const XGL_DEVICE_CREATE_INFO* pCreateInfo, XGL_DEVICE* pDevice); |
