parent
f3bbcfcd63
commit
4abb36899b
|
@ -257,7 +257,7 @@ OGLEXT(PFNGLFRAMEBUFFERTEXTURE2DEXTPROC,glFramebufferTexture2DEXT)
|
||||||
OGLEXT(PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC,glCheckFramebufferStatusEXT)
|
OGLEXT(PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC,glCheckFramebufferStatusEXT)
|
||||||
OGLEXT(PFNGLDELETEFRAMEBUFFERSEXTPROC,glDeleteFramebuffersEXT)
|
OGLEXT(PFNGLDELETEFRAMEBUFFERSEXTPROC,glDeleteFramebuffersEXT)
|
||||||
OGLEXT(PFNGLBLITFRAMEBUFFEREXTPROC,glBlitFramebufferEXT)
|
OGLEXT(PFNGLBLITFRAMEBUFFEREXTPROC,glBlitFramebufferEXT)
|
||||||
// new stuff
|
// Multisampled FBO
|
||||||
OGLEXT(PFNGLGENRENDERBUFFERSEXTPROC,glGenRenderbuffersEXT)
|
OGLEXT(PFNGLGENRENDERBUFFERSEXTPROC,glGenRenderbuffersEXT)
|
||||||
OGLEXT(PFNGLBINDRENDERBUFFEREXTPROC,glBindRenderbufferEXT)
|
OGLEXT(PFNGLBINDRENDERBUFFEREXTPROC,glBindRenderbufferEXT)
|
||||||
OGLEXT(PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC,glRenderbufferStorageMultisampleEXT)
|
OGLEXT(PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC,glRenderbufferStorageMultisampleEXT)
|
||||||
|
@ -959,6 +959,11 @@ static char OGLInit(void)
|
||||||
INITOGLEXT(PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC,glCheckFramebufferStatusEXT)
|
INITOGLEXT(PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC,glCheckFramebufferStatusEXT)
|
||||||
INITOGLEXT(PFNGLDELETEFRAMEBUFFERSEXTPROC,glDeleteFramebuffersEXT)
|
INITOGLEXT(PFNGLDELETEFRAMEBUFFERSEXTPROC,glDeleteFramebuffersEXT)
|
||||||
INITOGLEXT(PFNGLBLITFRAMEBUFFEREXTPROC,glBlitFramebufferEXT)
|
INITOGLEXT(PFNGLBLITFRAMEBUFFEREXTPROC,glBlitFramebufferEXT)
|
||||||
|
// Multisampled FBO
|
||||||
|
INITOGLEXT(PFNGLGENRENDERBUFFERSEXTPROC,glGenRenderbuffersEXT)
|
||||||
|
INITOGLEXT(PFNGLBINDRENDERBUFFEREXTPROC,glBindRenderbufferEXT)
|
||||||
|
INITOGLEXT(PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC,glRenderbufferStorageMultisampleEXT)
|
||||||
|
INITOGLEXT(PFNGLDELETERENDERBUFFERSEXTPROC,glDeleteRenderbuffersEXT)
|
||||||
#ifdef HAVE_LIBOSMESA
|
#ifdef HAVE_LIBOSMESA
|
||||||
glBlendFuncSeparate = NULL;
|
glBlendFuncSeparate = NULL;
|
||||||
#else
|
#else
|
||||||
|
@ -975,12 +980,6 @@ static char OGLInit(void)
|
||||||
INITOGLEXT(PFNGLACTIVETEXTUREPROC,glActiveTexture)
|
INITOGLEXT(PFNGLACTIVETEXTUREPROC,glActiveTexture)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//new stuff
|
|
||||||
INITOGLEXT(PFNGLGENRENDERBUFFERSEXTPROC,glGenRenderbuffersEXT)
|
|
||||||
INITOGLEXT(PFNGLBINDRENDERBUFFEREXTPROC,glBindRenderbufferEXT)
|
|
||||||
INITOGLEXT(PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC,glRenderbufferStorageMultisampleEXT)
|
|
||||||
INITOGLEXT(PFNGLDELETERENDERBUFFERSEXTPROC,glDeleteRenderbuffersEXT)
|
|
||||||
|
|
||||||
// VBO Setup
|
// VBO Setup
|
||||||
#if !defined(GL_ARB_vertex_buffer_object)
|
#if !defined(GL_ARB_vertex_buffer_object)
|
||||||
isVBOSupported = false;
|
isVBOSupported = false;
|
||||||
|
|
Loading…
Reference in New Issue