aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/glx/glapi_gentable.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/glx/glapi_gentable.c')
-rw-r--r--xorg-server/glx/glapi_gentable.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/xorg-server/glx/glapi_gentable.c b/xorg-server/glx/glapi_gentable.c
index a8dd5e7f3..5ed87118a 100644
--- a/xorg-server/glx/glapi_gentable.c
+++ b/xorg-server/glx/glapi_gentable.c
@@ -7103,13 +7103,6 @@ _glapi_create_table_from_handle(void *handle, const char *symbol_prefix) {
if(!disp->BindFramebuffer) {
void ** procp = (void **) &disp->BindFramebuffer;
- snprintf(symboln, sizeof(symboln), "%sBindFramebufferEXT", symbol_prefix);
- *procp = dlsym(handle, symboln);
- }
-
-
- if(!disp->BindFramebuffer) {
- void ** procp = (void **) &disp->BindFramebuffer;
snprintf(symboln, sizeof(symboln), "%sBindFramebufferOES", symbol_prefix);
*procp = dlsym(handle, symboln);
}
@@ -7124,13 +7117,6 @@ _glapi_create_table_from_handle(void *handle, const char *symbol_prefix) {
if(!disp->BindRenderbuffer) {
void ** procp = (void **) &disp->BindRenderbuffer;
- snprintf(symboln, sizeof(symboln), "%sBindRenderbufferEXT", symbol_prefix);
- *procp = dlsym(handle, symboln);
- }
-
-
- if(!disp->BindRenderbuffer) {
- void ** procp = (void **) &disp->BindRenderbuffer;
snprintf(symboln, sizeof(symboln), "%sBindRenderbufferOES", symbol_prefix);
*procp = dlsym(handle, symboln);
}
@@ -9649,6 +9635,20 @@ _glapi_create_table_from_handle(void *handle, const char *symbol_prefix) {
}
+ if(!disp->BindFramebufferEXT) {
+ void ** procp = (void **) &disp->BindFramebufferEXT;
+ snprintf(symboln, sizeof(symboln), "%sBindFramebufferEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
+ if(!disp->BindRenderbufferEXT) {
+ void ** procp = (void **) &disp->BindRenderbufferEXT;
+ snprintf(symboln, sizeof(symboln), "%sBindRenderbufferEXT", symbol_prefix);
+ *procp = dlsym(handle, symboln);
+ }
+
+
if(!disp->BufferParameteriAPPLE) {
void ** procp = (void **) &disp->BufferParameteriAPPLE;
snprintf(symboln, sizeof(symboln), "%sBufferParameteriAPPLE", symbol_prefix);