wok-6.x view freeglut/stuff/2.6.0-GFX_radeon.patch @ rev 17105
Add qps
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sat Aug 30 23:57:51 2014 +0200 (2014-08-30) |
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 );