diff options
author | Karl Schultz <kschultz@freedesktop.org> | 2005-12-16 16:38:44 +0000 |
---|---|---|
committer | Karl Schultz <kschultz@freedesktop.org> | 2005-12-16 16:38:44 +0000 |
commit | 782291ab916dcb3f11fe8b7c934b1fd164c46020 (patch) | |
tree | 2edd7b8bb4ff5f52951af7ecc50784d90502258d /src/mesa/drivers/windows | |
parent | 924fb5e916ae107df52181643927305ec4435255 (diff) |
fix thinko in last revision.
Diffstat (limited to 'src/mesa/drivers/windows')
-rw-r--r-- | src/mesa/drivers/windows/gdi/wmesa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/windows/gdi/wmesa.c b/src/mesa/drivers/windows/gdi/wmesa.c index 09da82e6db..982366be42 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 |