wok-6.x rev 6393

Forgot to added patch for freeglut when updating.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Sep 24 02:27:38 2010 +0000 (2010-09-24)
parents 4829bb876a86
children 32cde9ab5311
files freeglut/stuff/2.6.0-GFX_radeon.patch
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	Fri Sep 24 02:27:38 2010 +0000
     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 +