aboutsummaryrefslogtreecommitdiff
path: root/x11/virtualgl/files/patch-server_faker-glx.cpp
blob: 6fb9d381ce39fb71696d48cf5ba8c47e970a06da (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- server/faker-glx.cpp.orig	2019-10-20 21:29:00 UTC
+++ server/faker-glx.cpp
@@ -2192,11 +2192,10 @@ void glXQueryDrawable(Display *dpy, GLXDrawable draw, 
 	CATCH();
 }
 
-int glXQueryGLXPbufferSGIX(Display *dpy, GLXPbuffer pbuf, int attribute,
+void glXQueryGLXPbufferSGIX(Display *dpy, GLXPbuffer pbuf, int attribute,
 	unsigned int *value)
 {
 	glXQueryDrawable(dpy, pbuf, attribute, value);
-	return 0;
 }
 
 
@@ -2359,7 +2358,7 @@ void glXSwapBuffers(Display *dpy, GLXDrawable drawable
 // Returns the transparent index from the overlay visual on the 2D X server
 
 int glXGetTransparentIndexSUN(Display *dpy, Window overlay, Window underlay,
-	long *transparentIndex)
+	unsigned long *transparentIndex)
 {
 	int retval = False;
 	XWindowAttributes xwa;