Line 0
Link Here
|
|
|
1 |
--- src/VBox/Additions/common/crOpenGL/glx_c_exports.c.orig 2020-10-25 11:52:00 UTC |
2 |
+++ src/VBox/Additions/common/crOpenGL/glx_c_exports.c |
3 |
@@ -213,8 +213,8 @@ DECLEXPORT(GLXPbufferSGIX) VBOXGLXENTRYTAG(glXCreateGL |
4 |
return glxim.CreateGLXPbufferSGIX(dpy, config, width, height, attrib_list); |
5 |
} |
6 |
|
7 |
-DECLEXPORT(int) VBOXGLXENTRYTAG(glXQueryGLXPbufferSGIX) |
8 |
-(Display *dpy, GLXPbuffer pbuf, int attribute, unsigned int *value) |
9 |
+DECLEXPORT(void) VBOXGLXENTRYTAG(glXQueryGLXPbufferSGIX) |
10 |
+(Display *dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int *value) |
11 |
{ |
12 |
return glxim.QueryGLXPbufferSGIX(dpy, pbuf, attribute, value); |
13 |
} |
14 |
@@ -225,7 +225,7 @@ DECLEXPORT(GLXFBConfigSGIX *) VBOXGLXENTRYTAG(glXChoos |
15 |
return glxim.ChooseFBConfigSGIX(dpy, screen, attrib_list, nelements); |
16 |
} |
17 |
|
18 |
-DECLEXPORT(void) VBOXGLXENTRYTAG(glXDestroyGLXPbufferSGIX)(Display *dpy, GLXPbuffer pbuf) |
19 |
+DECLEXPORT(void) VBOXGLXENTRYTAG(glXDestroyGLXPbufferSGIX)(Display *dpy, GLXPbufferSGIX pbuf) |
20 |
{ |
21 |
return glxim.DestroyGLXPbufferSGIX(dpy, pbuf); |
22 |
} |
23 |
@@ -245,23 +245,23 @@ DECLEXPORT(GLXFBConfigSGIX) VBOXGLXENTRYTAG(glXGetFBCo |
24 |
return glxim.GetFBConfigFromVisualSGIX(dpy, vis); |
25 |
} |
26 |
|
27 |
-DECLEXPORT(XVisualInfo *) VBOXGLXENTRYTAG(glXGetVisualFromFBConfigSGIX)(Display *dpy, GLXFBConfig config) |
28 |
+DECLEXPORT(XVisualInfo *) VBOXGLXENTRYTAG(glXGetVisualFromFBConfigSGIX)(Display *dpy, GLXFBConfigSGIX config) |
29 |
{ |
30 |
return glxim.GetVisualFromFBConfigSGIX(dpy, config); |
31 |
} |
32 |
|
33 |
DECLEXPORT(GLXContext) VBOXGLXENTRYTAG(glXCreateContextWithConfigSGIX) |
34 |
-(Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct) |
35 |
+(Display *dpy, GLXFBConfigSGIX config, int render_type, GLXContext share_list, Bool direct) |
36 |
{ |
37 |
return glxim.CreateContextWithConfigSGIX(dpy, config, render_type, share_list, direct); |
38 |
} |
39 |
|
40 |
-DECLEXPORT(GLXPixmap) VBOXGLXENTRYTAG(glXCreateGLXPixmapWithConfigSGIX)(Display *dpy, GLXFBConfig config, Pixmap pixmap) |
41 |
+DECLEXPORT(GLXPixmap) VBOXGLXENTRYTAG(glXCreateGLXPixmapWithConfigSGIX)(Display *dpy, GLXFBConfigSGIX config, Pixmap pixmap) |
42 |
{ |
43 |
return glxim.CreateGLXPixmapWithConfigSGIX(dpy, config, pixmap); |
44 |
} |
45 |
|
46 |
-DECLEXPORT(int) VBOXGLXENTRYTAG(glXGetFBConfigAttribSGIX)(Display *dpy, GLXFBConfig config, int attribute, int *value) |
47 |
+DECLEXPORT(int) VBOXGLXENTRYTAG(glXGetFBConfigAttribSGIX)(Display *dpy, GLXFBConfigSGIX config, int attribute, int *value) |
48 |
{ |
49 |
return glxim.GetFBConfigAttribSGIX(dpy, config, attribute, value); |
50 |
} |