Build fix for Mac OS X.

meow-7.2.2
Leslie Linden 2011-07-11 15:16:56 -07:00
parent 9db49b4448
commit f587af0af1
1 changed files with 5 additions and 1 deletions

View File

@ -70,11 +70,15 @@ const U32 FENCE_WAIT_TIME_NANOSECONDS = 10000; //1 ms
class LLGLSyncFence : public LLGLFence
{
public:
#ifdef GL_ARB_sync
GLsync mSync;
#endif
LLGLSyncFence()
{
#ifdef GL_ARB_sync
mSync = 0;
#endif
}
~LLGLSyncFence()
@ -108,8 +112,8 @@ public:
static S32 waits = 0;
waits++;
}
#endif
}
#endif
}