wok view freeglut/stuff/2.6.0-GFX_radeon.patch @ rev 11426
Compat: ntop - don't trigger cook of splitted packages when using tazwok (that's automatic)
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Wed Dec 14 15:56:46 2011 +0100 (2011-12-14) |
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 );