Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 295163 | Differences between
and this patch

Collapse All | Expand All

(-)src/freeglut_window.c (-4 / +2 lines)
Lines 594-603 Link Here
594
#if TARGET_HOST_POSIX_X11
594
#if TARGET_HOST_POSIX_X11
595
    if ( window )
595
    if ( window )
596
    {
596
    {
597
        glXMakeContextCurrent(
597
        glXMakeCurrent(
598
            fgDisplay.Display,
598
            fgDisplay.Display,
599
            window->Window.Handle,
599
            window->Window.Handle,
600
            window->Window.Handle,
601
            window->Window.Context
600
            window->Window.Context
602
        );
601
        );
603
602
Lines 932-941 Link Here
932
    XSetWMProtocols( fgDisplay.Display, window->Window.Handle,
932
    XSetWMProtocols( fgDisplay.Display, window->Window.Handle,
933
                     &fgDisplay.DeleteWindow, 1 );
933
                     &fgDisplay.DeleteWindow, 1 );
934
934
935
    glXMakeContextCurrent(
935
    glXMakeCurrent(
936
        fgDisplay.Display,
936
        fgDisplay.Display,
937
        window->Window.Handle,
937
        window->Window.Handle,
938
        window->Window.Handle,
939
        window->Window.Context
938
        window->Window.Context
940
    );
939
    );
941
940

Return to bug 295163