aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/glx/winpriv.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-07-14 09:02:09 +0200
committermarha <marha@users.sourceforge.net>2011-07-14 09:02:09 +0200
commitd03a5f20114203fd00e0004659fd2617f4c03a32 (patch)
tree769d9c09953195385ac9c19aa31a1303b462d2d6 /xorg-server/hw/xwin/glx/winpriv.c
parent3b47b2c35227184c0eb6dcf6dee8b79c4f9d4474 (diff)
downloadvcxsrv-d03a5f20114203fd00e0004659fd2617f4c03a32.tar.gz
vcxsrv-d03a5f20114203fd00e0004659fd2617f4c03a32.tar.bz2
vcxsrv-d03a5f20114203fd00e0004659fd2617f4c03a32.zip
mesa xserver git update 14 july 2011
Diffstat (limited to 'xorg-server/hw/xwin/glx/winpriv.c')
-rw-r--r--xorg-server/hw/xwin/glx/winpriv.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/xorg-server/hw/xwin/glx/winpriv.c b/xorg-server/hw/xwin/glx/winpriv.c
index a35392b26..460973730 100644
--- a/xorg-server/hw/xwin/glx/winpriv.c
+++ b/xorg-server/hw/xwin/glx/winpriv.c
@@ -19,7 +19,7 @@ winCreateWindowsWindow (WindowPtr pWin);
*/
HWND winGetWindowInfo(WindowPtr pWin)
{
- winDebug("%s: pWin=%p\n", __FUNCTION__, pWin);
+ winTrace("%s: pWin %p XID 0x%x\n", __FUNCTION__, pWin, pWin->drawable.id);
/* a real window was requested */
if (pWin != NULL)
@@ -61,6 +61,9 @@ HWND winGetWindowInfo(WindowPtr pWin)
{
/* copy window handle */
hwnd = pWinPriv->hWnd;
+
+ /* mark GLX active on that hwnd */
+ pWinPriv->fWglUsed = TRUE;
}
return hwnd;