From Wang Rui, "The latest modification of osg/State uses the GLuint64EXT type, which

belongs to GL_EXT_timer_query and should be decalared to avoid
compiling errors if the extension is not supported. I've attached this
small fix."
This commit is contained in:
Robert Osfield 2010-11-11 10:53:23 +00:00
parent a80c458285
commit be9003d90c

View File

@ -51,6 +51,16 @@
#endif #endif
#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 { namespace osg {
/** macro for use with osg::StateAttribute::apply methods for detecting and /** macro for use with osg::StateAttribute::apply methods for detecting and