projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87c3bb6
)
st/wgl: return height, not width for WGL_PBUFFER_HEIGHT_ARB
author
Brian Paul
<brianp@vmware.com>
Thu, 23 Jun 2011 12:54:51 +0000
(06:54 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 23 Jun 2011 12:54:53 +0000
(06:54 -0600)
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=38599
src/gallium/state_trackers/wgl/stw_ext_pbuffer.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/wgl/stw_ext_pbuffer.c
b/src/gallium/state_trackers/wgl/stw_ext_pbuffer.c
index 424d8daccb3a2743ac1c84eee023cf6549e8878c..c7273f26545ee2d09adfbeece7aa54217170c9fd 100644
(file)
--- a/
src/gallium/state_trackers/wgl/stw_ext_pbuffer.c
+++ b/
src/gallium/state_trackers/wgl/stw_ext_pbuffer.c
@@
-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 */