Changed GLint64 and GLuint64 setup to use int64_t and uint64_t resptectivly respectively to avoid issues with compiling against Qt5
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15071 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
parent
583801179e
commit
7aa2c7c10f
@ -16,6 +16,7 @@
|
||||
|
||||
#include <osg/Config>
|
||||
#include <osg/Export>
|
||||
#include <osg/Types>
|
||||
|
||||
#cmakedefine OSG_GL1_AVAILABLE
|
||||
#cmakedefine OSG_GL2_AVAILABLE
|
||||
@ -119,19 +120,11 @@
|
||||
|
||||
|
||||
#ifndef GL_HEADER_HAS_GLINT64
|
||||
#ifdef _WIN32
|
||||
typedef __int64 GLint64;
|
||||
#else
|
||||
typedef long long int GLint64;
|
||||
#endif
|
||||
typedef int64_t GLint64;
|
||||
#endif
|
||||
|
||||
#ifndef GL_HEADER_HAS_GLUINT64
|
||||
#ifdef _WIN32
|
||||
typedef unsigned __int64 GLuint64;
|
||||
#else
|
||||
typedef unsigned long long int GLuint64;
|
||||
#endif
|
||||
typedef uint64_t GLuint64;
|
||||
#endif
|
||||
|
||||
#ifdef OSG_GL_MATRICES_AVAILABLE
|
||||
|
Loading…
Reference in New Issue
Block a user