Add a workaround for a khronos spec bug

This commit is contained in:
kd-11 2016-06-12 16:37:30 +03:00
parent 6761d4a30c
commit 28a5d4d4f0

View File

@ -25,6 +25,12 @@ typedef BOOL (WINAPI* PFNWGLSWAPINTERVALEXTPROC) (int interval);
#include <GL/glxext.h>
#endif
#ifndef GL_TEXTURE_BUFFER_BINDING
//During spec release, this enum was removed during upgrade from ARB equivalent
//See https://www.khronos.org/bugzilla/show_bug.cgi?id=844
#define GL_TEXTURE_BUFFER_BINDING 0x8C2A
#endif
namespace gl
{
void init();