]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
bind to GL_ARB_framebuffer_object functions correctly - unlike almost
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 30 Nov 2011 09:15:09 +0000 (09:15 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 30 Nov 2011 09:15:09 +0000 (09:15 +0000)
everything else, these lack the ARB suffix (issue 8 in the spec)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11583 d7cf8633-e32d-0410-b094-e92efae38249

vid_shared.c

index 9f24869d4cea01848a8ca44551fea8bdd8cdd921..0859617f5f906c45e51aa189785376f40785f298 100644 (file)
@@ -867,26 +867,26 @@ static dllfunction_t vbofuncs[] =
 
 static dllfunction_t arbfbofuncs[] =
 {
-       {"glIsRenderbufferARB"                      , (void **) &qglIsRenderbuffer},
-       {"glBindRenderbufferARB"                    , (void **) &qglBindRenderbuffer},
-       {"glDeleteRenderbuffersARB"                 , (void **) &qglDeleteRenderbuffers},
-       {"glGenRenderbuffersARB"                    , (void **) &qglGenRenderbuffers},
-       {"glRenderbufferStorageARB"                 , (void **) &qglRenderbufferStorage},
-       {"glRenderbufferStorageMultisampleARB"      , (void **) &qglRenderbufferStorageMultisample}, // not in GL_EXT_framebuffer_object
-       {"glGetRenderbufferParameterivARB"          , (void **) &qglGetRenderbufferParameteriv},
-       {"glIsFramebufferARB"                       , (void **) &qglIsFramebuffer},
-       {"glBindFramebufferARB"                     , (void **) &qglBindFramebuffer},
-       {"glDeleteFramebuffersARB"                  , (void **) &qglDeleteFramebuffers},
-       {"glGenFramebuffersARB"                     , (void **) &qglGenFramebuffers},
-       {"glCheckFramebufferStatusARB"              , (void **) &qglCheckFramebufferStatus},
-       {"glFramebufferTexture1DARB"                , (void **) &qglFramebufferTexture1D},
-       {"glFramebufferTexture2DARB"                , (void **) &qglFramebufferTexture2D},
-       {"glFramebufferTexture3DARB"                , (void **) &qglFramebufferTexture3D},
-       {"glFramebufferTextureLayerARB"             , (void **) &qglFramebufferTextureLayer}, // not in GL_EXT_framebuffer_object
-       {"glFramebufferRenderbufferARB"             , (void **) &qglFramebufferRenderbuffer},
-       {"glGetFramebufferAttachmentParameterivARB" , (void **) &qglGetFramebufferAttachmentParameteriv},
-       {"glBlitFramebufferARB"                     , (void **) &qglBlitFramebuffer}, // not in GL_EXT_framebuffer_object
-       {"glGenerateMipmapARB"                      , (void **) &qglGenerateMipmap},
+       {"glIsRenderbuffer"                      , (void **) &qglIsRenderbuffer},
+       {"glBindRenderbuffer"                    , (void **) &qglBindRenderbuffer},
+       {"glDeleteRenderbuffers"                 , (void **) &qglDeleteRenderbuffers},
+       {"glGenRenderbuffers"                    , (void **) &qglGenRenderbuffers},
+       {"glRenderbufferStorage"                 , (void **) &qglRenderbufferStorage},
+       {"glRenderbufferStorageMultisample"      , (void **) &qglRenderbufferStorageMultisample}, // not in GL_EXT_framebuffer_object
+       {"glGetRenderbufferParameteriv"          , (void **) &qglGetRenderbufferParameteriv},
+       {"glIsFramebuffer"                       , (void **) &qglIsFramebuffer},
+       {"glBindFramebuffer"                     , (void **) &qglBindFramebuffer},
+       {"glDeleteFramebuffers"                  , (void **) &qglDeleteFramebuffers},
+       {"glGenFramebuffers"                     , (void **) &qglGenFramebuffers},
+       {"glCheckFramebufferStatus"              , (void **) &qglCheckFramebufferStatus},
+       {"glFramebufferTexture1D"                , (void **) &qglFramebufferTexture1D},
+       {"glFramebufferTexture2D"                , (void **) &qglFramebufferTexture2D},
+       {"glFramebufferTexture3D"                , (void **) &qglFramebufferTexture3D},
+       {"glFramebufferTextureLayer"             , (void **) &qglFramebufferTextureLayer}, // not in GL_EXT_framebuffer_object
+       {"glFramebufferRenderbuffer"             , (void **) &qglFramebufferRenderbuffer},
+       {"glGetFramebufferAttachmentParameteriv" , (void **) &qglGetFramebufferAttachmentParameteriv},
+       {"glBlitFramebuffer"                     , (void **) &qglBlitFramebuffer}, // not in GL_EXT_framebuffer_object
+       {"glGenerateMipmap"                      , (void **) &qglGenerateMipmap},
        {NULL, NULL}
 };