summaryrefslogtreecommitdiff
path: root/~lukeshu/freeglut26/2.6.0-GFX_radeon.patch
blob: 8806fe849cb5405786876517fad6effd15e5b56d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Index: src/freeglut_window.c
===================================================================
--- src/freeglut_window.c	(Revision 832)
+++ src/freeglut_window.c	(Arbeitskopie)
@@ -594,10 +594,9 @@
 #if TARGET_HOST_POSIX_X11
     if ( window )
     {
-        glXMakeContextCurrent(
+        glXMakeCurrent(
             fgDisplay.Display,
             window->Window.Handle,
-            window->Window.Handle,
             window->Window.Context
         );
 
@@ -932,10 +932,9 @@
     XSetWMProtocols( fgDisplay.Display, window->Window.Handle,
                      &fgDisplay.DeleteWindow, 1 );
 
-    glXMakeContextCurrent(
+    glXMakeCurrent(
         fgDisplay.Display,
         window->Window.Handle,
-        window->Window.Handle,
         window->Window.Context
     );