wok diff freeglut/stuff/2.6.0-GFX_radeon.patch @ rev 15488

Up: firefox-dev (17.0.10esr)
author Dominique Corbex <domcox@slitaz.org>
date Sun Nov 17 16:28:53 2013 +0100 (2013-11-17)
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	Sun Nov 17 16:28:53 2013 +0100
     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 +