diff --git a/applications/osgviewer/osgviewer.cpp b/applications/osgviewer/osgviewer.cpp index 0977a4ec6..93cc88837 100644 --- a/applications/osgviewer/osgviewer.cpp +++ b/applications/osgviewer/osgviewer.cpp @@ -94,7 +94,7 @@ public: if (_previousSync) { unsigned int num_seconds = 1; - GLuint64 timeout = num_seconds * ((GLuint64)1000 * 1000 * 1000); + GLuint64EXT timeout = num_seconds * ((GLuint64EXT)1000 * 1000 * 1000); _glClientWaitSync(_previousSync, 0, timeout); _glDeleteSync(_previousSync); @@ -107,22 +107,14 @@ public: //OSG_NOTICE<<"After swap"<