diff --git a/include/osg/State b/include/osg/State index f28f5715a..18d6c0650 100644 --- a/include/osg/State +++ b/include/osg/State @@ -51,6 +51,16 @@ #endif #endif +#if !defined(GL_EXT_timer_query) && !defined(OSG_GL3_AVAILABLE) + #ifdef _WIN32 + typedef __int64 GLint64EXT; + typedef unsigned __int64 GLuint64EXT; + #else + typedef long long int GLint64EXT; + typedef unsigned long long int GLuint64EXT; + #endif +#endif + namespace osg { /** macro for use with osg::StateAttribute::apply methods for detecting and