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:
Brian Paul 2011-06-23 06:54:51 -06:00
parent 87c3bb65bb
commit 8a5a28b731
1 changed files with 1 additions and 1 deletions

View File

@ -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 */