VirtualBox

Ignore:
Timestamp:
Mar 14, 2013 12:53:34 PM (12 years ago)
Author:
vboxsync
Message:

crOpenGL/glx: additional fixes

Location:
trunk/src/VBox/HostServices/SharedOpenGL/render
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu.c

    r45036 r45039  
    409409        return GL_FALSE;
    410410    }
     411   
     412    window->visible = !!showIt;
    411413
    412414    CRASSERT(window->visual == visual);
     
    627629        {
    628630            renderspu_SystemShowWindow( window, visible );
    629             window->visible != visible;
     631            window->visible = visible;
    630632        }
    631633    }
  • trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_glx.c

    r45036 r45039  
    11341134                            (char *) window->window );
    11351135    }
    1136     window->visible = showIt;
    11371136
    11381137    if ((window->visual->visAttribs & CR_DOUBLE_BIT) && render_spu.nvSwapGroup) {
     
    19591958        if (showIt)
    19601959        {
    1961             XMapWindow( window->visual->dpy, window->window );
    1962             XSync(window->visual->dpy, 0);
     1960            if (window->BltInfo.width && window->BltInfo.height)
     1961            {
     1962                XMapWindow( window->visual->dpy, window->window );
     1963                XSync(window->visual->dpy, 0);
     1964            }
    19631965        }
    19641966        else
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette