projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
924fb5e
)
fix thinko in last revision.
author
Karl Schultz
<kschultz@freedesktop.org>
Fri, 16 Dec 2005 16:38:44 +0000
(16:38 +0000)
committer
Karl Schultz
<kschultz@freedesktop.org>
Fri, 16 Dec 2005 16:38:44 +0000
(16:38 +0000)
src/mesa/drivers/windows/gdi/wmesa.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/windows/gdi/wmesa.c
b/src/mesa/drivers/windows/gdi/wmesa.c
index 09da82e6db5d8fcd28c294aa4470fcb549333ee8..982366be42b4fc840e1d8429bb032db4d00e66c3 100644
(file)
--- a/
src/mesa/drivers/windows/gdi/wmesa.c
+++ b/
src/mesa/drivers/windows/gdi/wmesa.c
@@
-1171,7
+1171,7
@@
void WMesaMakeCurrent(WMesaContext c)
if (WindowFromDC(c->hDC)) {
GetClientRect(WindowFromDC(c->hDC), &rect);
c->width = rect.right - rect.left;
- c->height = rect.
top = rect.bottom
;
+ c->height = rect.
bottom - rect.top
;
}
else { /* Memory context */
/* From contributed code - use the size of the desktop