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:
parent
a80c458285
commit
be9003d90c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user