st/wgl: return height, not width for WGL_PBUFFER_HEIGHT_ARB
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=38599
This commit is contained in:
parent
87c3bb65bb
commit
8a5a28b731
|
@ -268,7 +268,7 @@ wglQueryPbufferARB(HPBUFFERARB hPbuffer,
|
|||
*piValue = fb->width;
|
||||
return TRUE;
|
||||
case WGL_PBUFFER_HEIGHT_ARB:
|
||||
*piValue = fb->width;
|
||||
*piValue = fb->height;
|
||||
return TRUE;
|
||||
case WGL_PBUFFER_LOST_ARB:
|
||||
/* We assume that no content is ever lost due to display mode change */
|
||||
|
|
Loading…
Reference in New Issue