mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
st/wgl: return height, not width for WGL_PBUFFER_HEIGHT_ARB
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=38599
(cherry picked from commit 8a5a28b731)
This commit is contained in:
parent
bc46f0c969
commit
6128739b75
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue