Experiment with how to define GLsizeiptr.
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14917 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
parent
08d2d322d9
commit
824cc95518
@ -599,6 +599,13 @@ namespace osg
|
|||||||
//all ES versions except GL_OES_VERSION_1_0 provide these types for OpenGL ES
|
//all ES versions except GL_OES_VERSION_1_0 provide these types for OpenGL ES
|
||||||
#if !defined(GL_VERSION_1_5) && !defined(GL_ARB_vertex_buffer_object) \
|
#if !defined(GL_VERSION_1_5) && !defined(GL_ARB_vertex_buffer_object) \
|
||||||
&& !defined(GL_ES_VERSION_2_0) && !defined(OPENGLES_1_1_FOUND)
|
&& !defined(GL_ES_VERSION_2_0) && !defined(OPENGLES_1_1_FOUND)
|
||||||
|
|
||||||
|
#if 1
|
||||||
|
// experimental defination.
|
||||||
|
typedef ptrdiff_t GLsizeiptr;
|
||||||
|
typedef ptrdiff_t GLintptr;
|
||||||
|
#else
|
||||||
|
|
||||||
#if defined(_WIN64)
|
#if defined(_WIN64)
|
||||||
typedef __int64 GLintptr;
|
typedef __int64 GLintptr;
|
||||||
typedef __int64 GLsizeiptr;
|
typedef __int64 GLsizeiptr;
|
||||||
@ -610,6 +617,7 @@ namespace osg
|
|||||||
typedef int GLsizeiptr;
|
typedef int GLsizeiptr;
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user