Skip to content
Snippets Groups Projects
Commit f587af0a authored by Leslie Linden's avatar Leslie Linden
Browse files

Build fix for Mac OS X.

parent 9db49b44
No related branches found
No related tags found
No related merge requests found
...@@ -70,11 +70,15 @@ const U32 FENCE_WAIT_TIME_NANOSECONDS = 10000; //1 ms ...@@ -70,11 +70,15 @@ const U32 FENCE_WAIT_TIME_NANOSECONDS = 10000; //1 ms
class LLGLSyncFence : public LLGLFence class LLGLSyncFence : public LLGLFence
{ {
public: public:
#ifdef GL_ARB_sync
GLsync mSync; GLsync mSync;
#endif
LLGLSyncFence() LLGLSyncFence()
{ {
#ifdef GL_ARB_sync
mSync = 0; mSync = 0;
#endif
} }
~LLGLSyncFence() ~LLGLSyncFence()
...@@ -108,8 +112,8 @@ class LLGLSyncFence : public LLGLFence ...@@ -108,8 +112,8 @@ class LLGLSyncFence : public LLGLFence
static S32 waits = 0; static S32 waits = 0;
waits++; waits++;
} }
#endif
} }
#endif
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment