Changed GLint64 and GLuint64 to use int64_t and uint64_t (pulled in via include/osg/Types) to avoid conflict with Qt5 definitions
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15072 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
parent
8b4ff0f50a
commit
e8722e76ea
@ -16,7 +16,8 @@
|
||||
|
||||
#include <osg/Config>
|
||||
#include <osg/Export>
|
||||
|
||||
#include <osg/Types>
|
||||
|
||||
#cmakedefine OSG_GL1_AVAILABLE
|
||||
#cmakedefine OSG_GL2_AVAILABLE
|
||||
#cmakedefine OSG_GL3_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