Added #ifdef's around GLsync typedef

git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14591 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
Robert Osfield 2014-12-09 21:33:12 +00:00
parent 22e51c9902
commit 7629a5126a

View File

@ -568,7 +568,9 @@ typedef char GLchar;
#define GL_MAX_3D_TEXTURE_SIZE 0x8073 #define GL_MAX_3D_TEXTURE_SIZE 0x8073
#endif #endif
#ifndef GL_VERSION_3_2
typedef struct __GLsync *GLsync; typedef struct __GLsync *GLsync;
#endif
// for compatibility with gl.h headers that don't support VBO, // for compatibility with gl.h headers that don't support VBO,
//GL_VERSION_1_5 and GL_ARB_vertex_buffer_object provide these types for OpenGL //GL_VERSION_1_5 and GL_ARB_vertex_buffer_object provide these types for OpenGL