summaryrefslogtreecommitdiffhomepage
path: root/src/external/OculusSDK/LibOVR/Include/OVR_CAPI_GL.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/external/OculusSDK/LibOVR/Include/OVR_CAPI_GL.h')
-rw-r--r--src/external/OculusSDK/LibOVR/Include/OVR_CAPI_GL.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/external/OculusSDK/LibOVR/Include/OVR_CAPI_GL.h b/src/external/OculusSDK/LibOVR/Include/OVR_CAPI_GL.h
index 81487947..1c073f46 100644
--- a/src/external/OculusSDK/LibOVR/Include/OVR_CAPI_GL.h
+++ b/src/external/OculusSDK/LibOVR/Include/OVR_CAPI_GL.h
@@ -9,6 +9,8 @@
#include "OVR_CAPI.h"
+#if !defined(OVR_EXPORTING_CAPI)
+
/// Creates a TextureSwapChain suitable for use with OpenGL.
///
/// \param[in] session Specifies an ovrSession previously returned by ovr_Create.
@@ -95,5 +97,6 @@ OVR_PUBLIC_FUNCTION(ovrResult) ovr_GetMirrorTextureBufferGL(ovrSession session,
ovrMirrorTexture mirrorTexture,
unsigned int* out_TexId);
+#endif // !defined(OVR_EXPORTING_CAPI)
#endif // OVR_CAPI_GL_h