From 1ee003a15892444b92aa128c4e843ed821c23246 Mon Sep 17 00:00:00 2001 From: Jon Ashburn Date: Mon, 6 Apr 2015 17:38:17 -0600 Subject: include: Dbg entrypoints should be protected by XGL_PROTOTYPES Needed if including header file and want to define one's own entrypoints statically --- include/xglDbg.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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 -- cgit v1.2.3