Merge pull request #2053 from tobbi/fix_redefinition_warning

Fix glVertexAttribDivisor redefinition warning
This commit is contained in:
auriamg 2015-04-01 19:07:34 -04:00
commit 6af71fe582

View File

@ -30,6 +30,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