wok-6.x diff freeglut/stuff/2.6.0-GFX_radeon.patch @ rev 18134

poptop: add plugin
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 13 17:27:08 2015 +0200 (2015-06-13)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/freeglut/stuff/2.6.0-GFX_radeon.patch	Sat Jun 13 17:27:08 2015 +0200
     1.3 @@ -0,0 +1,28 @@
     1.4 +Index: src/freeglut_window.c
     1.5 +===================================================================
     1.6 +--- src/freeglut_window.c	(Revision 832)
     1.7 ++++ src/freeglut_window.c	(Arbeitskopie)
     1.8 +@@ -594,10 +594,9 @@
     1.9 + #if TARGET_HOST_POSIX_X11
    1.10 +     if ( window )
    1.11 +     {
    1.12 +-        glXMakeContextCurrent(
    1.13 ++        glXMakeCurrent(
    1.14 +             fgDisplay.Display,
    1.15 +             window->Window.Handle,
    1.16 +-            window->Window.Handle,
    1.17 +             window->Window.Context
    1.18 +         );
    1.19 + 
    1.20 +@@ -932,10 +932,9 @@
    1.21 +     XSetWMProtocols( fgDisplay.Display, window->Window.Handle,
    1.22 +                      &fgDisplay.DeleteWindow, 1 );
    1.23 + 
    1.24 +-    glXMakeContextCurrent(
    1.25 ++    glXMakeCurrent(
    1.26 +         fgDisplay.Display,
    1.27 +         window->Window.Handle,
    1.28 +-        window->Window.Handle,
    1.29 +         window->Window.Context
    1.30 +     );
    1.31 +