wok view freeglut/stuff/2.6.0-GFX_radeon.patch @ rev 20580
go: force arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 13 22:11:22 2018 +0100 (2018-12-13) |
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 );