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

syslinux/iso2exe: tiny edits
author Paul Issott <paul@slitaz.org>
date Sun Mar 31 22:55:34 2013 +0100 (2013-03-31)
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 Mar 31 22:55:34 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 +