summaryrefslogtreecommitdiffstats
path: root/abs/core/freeglut/2.6.0-GFX_radeon.patch
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/freeglut/2.6.0-GFX_radeon.patch')
-rw-r--r--abs/core/freeglut/2.6.0-GFX_radeon.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/abs/core/freeglut/2.6.0-GFX_radeon.patch b/abs/core/freeglut/2.6.0-GFX_radeon.patch
new file mode 100644
index 0000000..8806fe8
--- /dev/null
+++ b/abs/core/freeglut/2.6.0-GFX_radeon.patch
@@ -0,0 +1,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
+ );
+