fix windows compiling by adding GL prototypes for newly-required MSAA junk. not sure what the implications are on old opengl drivers. we'll have to wait for someone to complain.
This commit is contained in:
parent
91c53cc772
commit
f3bbcfcd63
|
@ -257,6 +257,11 @@ OGLEXT(PFNGLFRAMEBUFFERTEXTURE2DEXTPROC,glFramebufferTexture2DEXT)
|
|||
OGLEXT(PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC,glCheckFramebufferStatusEXT)
|
||||
OGLEXT(PFNGLDELETEFRAMEBUFFERSEXTPROC,glDeleteFramebuffersEXT)
|
||||
OGLEXT(PFNGLBLITFRAMEBUFFEREXTPROC,glBlitFramebufferEXT)
|
||||
// new stuff
|
||||
OGLEXT(PFNGLGENRENDERBUFFERSEXTPROC,glGenRenderbuffersEXT)
|
||||
OGLEXT(PFNGLBINDRENDERBUFFEREXTPROC,glBindRenderbufferEXT)
|
||||
OGLEXT(PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC,glRenderbufferStorageMultisampleEXT)
|
||||
OGLEXT(PFNGLDELETERENDERBUFFERSEXTPROC,glDeleteRenderbuffersEXT)
|
||||
#endif
|
||||
|
||||
#if !defined(GL_VERSION_1_3) || defined(_MSC_VER) || defined(__INTEL_COMPILER)
|
||||
|
@ -969,6 +974,12 @@ static char OGLInit(void)
|
|||
#if !defined(GL_VERSION_1_3) || defined(_MSC_VER) || defined(__INTEL_COMPILER)
|
||||
INITOGLEXT(PFNGLACTIVETEXTUREPROC,glActiveTexture)
|
||||
#endif
|
||||
|
||||
//new stuff
|
||||
INITOGLEXT(PFNGLGENRENDERBUFFERSEXTPROC,glGenRenderbuffersEXT)
|
||||
INITOGLEXT(PFNGLBINDRENDERBUFFEREXTPROC,glBindRenderbufferEXT)
|
||||
INITOGLEXT(PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC,glRenderbufferStorageMultisampleEXT)
|
||||
INITOGLEXT(PFNGLDELETERENDERBUFFERSEXTPROC,glDeleteRenderbuffersEXT)
|
||||
|
||||
// VBO Setup
|
||||
#if !defined(GL_ARB_vertex_buffer_object)
|
||||
|
|
Loading…
Reference in New Issue