Merge pull request #2053 from tobbi/fix_redefinition_warning
Fix glVertexAttribDivisor redefinition warning
This commit is contained in:
commit
6af71fe582
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user