VirtualBox

Ignore:
Timestamp:
Feb 2, 2009 12:56:39 PM (16 years ago)
Author:
vboxsync
Message:

crOpenGL: (linux) fix, show window if X window is mapped after opengl context binding

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/crOpenGL/load.c

    r16381 r16456  
    118118    }
    119119#endif
     120
     121    if (stub.trackWindowVisibility && window->type == CHROMIUM && window->drawable) {
     122        const int mapped = stubIsWindowVisible(window);
     123        if (mapped != window->mapped) {
     124            crDebug("Dispatched: WindowShow(%i, %i)", window->spuWindow, mapped);
     125            stub.spu->dispatch_table.WindowShow(window->spuWindow, mapped);
     126            window->mapped = mapped;
     127        }
     128    }
    120129}
    121130
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