wok-6.x view freeglut/stuff/2.6.0-GFX_radeon.patch @ rev 24025

gtk+3-dev: add cups backend development files
author Hans-G?nter Theisgen
date Thu Mar 18 17:05:41 2021 +0100 (2021-03-18)
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 );