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

linux: FIX config files (they was missing config and still i486 config)
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 18 19:11:35 2011 +0200 (2011-05-18)
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	Wed May 18 19:11:35 2011 +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 +