diff options
author | Leslie Linden <leslie@lindenlab.com> | 2011-07-11 15:16:56 -0700 |
---|---|---|
committer | Leslie Linden <leslie@lindenlab.com> | 2011-07-11 15:16:56 -0700 |
commit | f587af0af19afb52a2b8411f071defe420f8d48d (patch) | |
tree | 7b565314ff31d14377ad99756d1574faab6b382d /indra/llrender | |
parent | 9db49b4448abae1e171fd1b40d1a7049b6762353 (diff) |
Build fix for Mac OS X.
Diffstat (limited to 'indra/llrender')
-rw-r--r-- | indra/llrender/llvertexbuffer.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llrender/llvertexbuffer.cpp b/indra/llrender/llvertexbuffer.cpp index b96023f613..82c5efe0ac 100644 --- a/indra/llrender/llvertexbuffer.cpp +++ b/indra/llrender/llvertexbuffer.cpp @@ -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 } |