Fix glVertexAttribDivisor redefinition warning

This commit is contained in:
Tobias Markus 2015-03-28 16:56:51 +01:00
parent 17039141e4
commit cedb7e7123

View File

@ -13,6 +13,9 @@ extern "C" {
# include <OpenGL/gl3.h>
# define OGL32CTX
# ifdef GL_ARB_instanced_arrays
# ifdef glVertexAttribDivisor
# undef glVertexAttribDivisor
# endif
# define glVertexAttribDivisor glVertexAttribDivisorARB
# endif
# ifndef GL_TEXTURE_SWIZZLE_RGBA