From 7629a5126a1f23d757bab3a96a26fde7e86905af Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 9 Dec 2014 21:33:12 +0000 Subject: [PATCH] Added #ifdef's around GLsync typedef git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14591 16af8721-9629-0410-8352-f15c8da7e697 --- include/osg/GL2Extensions | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/osg/GL2Extensions b/include/osg/GL2Extensions index af46e7e73..9a1e98d0e 100644 --- a/include/osg/GL2Extensions +++ b/include/osg/GL2Extensions @@ -568,7 +568,9 @@ typedef char GLchar; #define GL_MAX_3D_TEXTURE_SIZE 0x8073 #endif +#ifndef GL_VERSION_3_2 typedef struct __GLsync *GLsync; +#endif // 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