From: Karl Schultz Date: Fri, 16 Dec 2005 16:38:44 +0000 (+0000) Subject: fix thinko in last revision. X-Git-Tag: android-x86-1.6~4097 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=782291ab916dcb3f11fe8b7c934b1fd164c46020;p=android-x86%2Fexternal-mesa.git fix thinko in last revision. --- diff --git a/src/mesa/drivers/windows/gdi/wmesa.c b/src/mesa/drivers/windows/gdi/wmesa.c index 09da82e6db5..982366be42b 100644 --- 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