diff --git a/applications/osgviewer/osgviewer.cpp b/applications/osgviewer/osgviewer.cpp index 0977a4ec6..902be3429 100644 --- a/applications/osgviewer/osgviewer.cpp +++ b/applications/osgviewer/osgviewer.cpp @@ -31,6 +31,7 @@ #include #include +#include #include @@ -90,7 +91,7 @@ public: if (!_extensionInitialized) setUpExtensions(); if (_glClientWaitSync) - { + { if (_previousSync) { unsigned int num_seconds = 1; @@ -126,7 +127,7 @@ public: typedef void (GL_APIENTRY * PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); bool _extensionInitialized; - + PFNGLFENCESYNCPROC _glFenceSync; PFNGLISSYNCPROC _glIsSync; PFNGLDELETESYNCPROC _glDeleteSync; @@ -187,7 +188,7 @@ int main(int argc, char** argv) ); } } - + std::string device; while(arguments.read("--device", device)) {