Fix glVertexAttribDivisor redefinition warning
This commit is contained in:
parent
17039141e4
commit
cedb7e7123
@ -13,6 +13,9 @@ extern "C" {
|
|||||||
# include <OpenGL/gl3.h>
|
# include <OpenGL/gl3.h>
|
||||||
# define OGL32CTX
|
# define OGL32CTX
|
||||||
# ifdef GL_ARB_instanced_arrays
|
# ifdef GL_ARB_instanced_arrays
|
||||||
|
# ifdef glVertexAttribDivisor
|
||||||
|
# undef glVertexAttribDivisor
|
||||||
|
# endif
|
||||||
# define glVertexAttribDivisor glVertexAttribDivisorARB
|
# define glVertexAttribDivisor glVertexAttribDivisorARB
|
||||||
# endif
|
# endif
|
||||||
# ifndef GL_TEXTURE_SWIZZLE_RGBA
|
# ifndef GL_TEXTURE_SWIZZLE_RGBA
|
||||||
|
Loading…
Reference in New Issue
Block a user