Error for outdated glext/SDL_opengl headers

This commit is contained in:
Andrei Drexler 2011-03-15 02:41:27 +00:00
parent c557cb11df
commit 2119edc3b1

View file

@ -14,6 +14,10 @@
HANDLE_EXT_FUNC(PFNGLRENDERBUFFERSTORAGEEXTPROC, glRenderbufferStorageEXT); \
HANDLE_EXT_FUNC(PFNGLBINDRENDERBUFFEREXTPROC, glBindRenderbufferEXT) \
#if !defined(GL_EXT_framebuffer_multisample) || !defined(GL_EXT_framebuffer_blit)
# error "You need to update glext.h / SDL_opengl.h"
#endif
#define GL_EXT_framebuffer_multisample_functions \
HANDLE_EXT_FUNC(PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC, glRenderbufferStorageMultisampleEXT) \