Fix glVertexAttribDivisor redefinition warning
This commit is contained in:
parent
17039141e4
commit
cedb7e7123
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user