wok-4.x view freeglut/stuff/2.6.0-GFX_radeon.patch @ rev 9831
Up: apache-mod-perl to 2.0.5.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun May 15 12:09:52 2011 +0000 (2011-05-15) |
parents | |
children |
line source
1 Index: src/freeglut_window.c
2 ===================================================================
3 --- src/freeglut_window.c (Revision 832)
4 +++ src/freeglut_window.c (Arbeitskopie)
5 @@ -594,10 +594,9 @@
6 #if TARGET_HOST_POSIX_X11
7 if ( window )
8 {
9 - glXMakeContextCurrent(
10 + glXMakeCurrent(
11 fgDisplay.Display,
12 window->Window.Handle,
13 - window->Window.Handle,
14 window->Window.Context
15 );
17 @@ -932,10 +932,9 @@
18 XSetWMProtocols( fgDisplay.Display, window->Window.Handle,
19 &fgDisplay.DeleteWindow, 1 );
21 - glXMakeContextCurrent(
22 + glXMakeCurrent(
23 fgDisplay.Display,
24 window->Window.Handle,
25 - window->Window.Handle,
26 window->Window.Context
27 );