diff options
| author | Jon Ashburn <jon@lunarg.com> | 2015-04-06 17:38:17 -0600 |
|---|---|---|
| committer | Chia-I Wu <olv@lunarg.com> | 2015-04-16 17:33:29 +0800 |
| commit | 1ee003a15892444b92aa128c4e843ed821c23246 (patch) | |
| tree | b36d87f6218f9b93aa5960f3ba3ce72c5f4ea999 /include | |
| parent | ab46b3609d75079ae5aedba8d7a04e666eab19dd (diff) | |
| download | usermoji-1ee003a15892444b92aa128c4e843ed821c23246.tar.xz | |
include: Dbg entrypoints should be protected by XGL_PROTOTYPES
Needed if including header file and want to define one's own entrypoints statically
Diffstat (limited to 'include')
| -rw-r--r-- | include/xglDbg.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/xglDbg.h b/include/xglDbg.h index 41b4b3ba..5a6c8fa0 100644 --- a/include/xglDbg.h +++ b/include/xglDbg.h @@ -119,6 +119,7 @@ typedef XGL_RESULT (XGLAPI *xglDbgSetDeviceOptionType)(XGL_DEVICE device, XGL_DB typedef void (XGLAPI *xglCmdDbgMarkerBeginType)(XGL_CMD_BUFFER cmdBuffer, const char* pMarker); typedef void (XGLAPI *xglCmdDbgMarkerEndType)(XGL_CMD_BUFFER cmdBuffer); +#ifdef XGL_PROTOTYPES XGL_RESULT XGLAPI xglDbgSetValidationLevel( XGL_DEVICE device, XGL_VALIDATION_LEVEL validationLevel); @@ -161,6 +162,8 @@ void XGLAPI xglCmdDbgMarkerBegin( void XGLAPI xglCmdDbgMarkerEnd( XGL_CMD_BUFFER cmdBuffer); +#endif // XGL_PROTOTYPES + #ifdef __cplusplus }; // extern "C" #endif // __cplusplus |
