VirtualBox

Ignore:
Timestamp:
Nov 20, 2009 10:10:36 AM (15 years ago)
Author:
vboxsync
Message:

crOpenGL: retry to get drawable info after xsync call

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/crOpenGL/glx.c

    r24816 r24817  
    18511851    if (!XGetGeometry(dpy, (Pixmap)draw, &root, &x, &y, &w, &h, &border, &depth))
    18521852    {
    1853         crWarning("stubInitGlxPixmap failed in call to XGetGeometry for 0x%x", (int) draw);
    1854         return NULL;
     1853        XSync(dpy, False);
     1854        if (!XGetGeometry(dpy, (Pixmap)draw, &root, &x, &y, &w, &h, &border, &depth))
     1855        {
     1856            crWarning("stubInitGlxPixmap failed in call to XGetGeometry for 0x%x", (int) draw);
     1857            return NULL;
     1858        }
    18551859    }
    18561860
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