summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/windows/wmesa.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2001-05-21 14:46:33 +0000
committerBrian Paul <[email protected]>2001-05-21 14:46:33 +0000
commite9482d004f7b4bdc99312a89c33c061f31552bda (patch)
tree16ddbf0645e8af55e32a5fe4ccd69b73921b85dc /src/mesa/drivers/windows/wmesa.c
parentd577248b8973bee8fa4f84be9f6c87eb33a3f163 (diff)
s/Height/height/ (Jeff Potter)
Diffstat (limited to 'src/mesa/drivers/windows/wmesa.c')
-rw-r--r--src/mesa/drivers/windows/wmesa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/windows/wmesa.c b/src/mesa/drivers/windows/wmesa.c
index b65fc599c53..43f99f30f46 100644
--- a/src/mesa/drivers/windows/wmesa.c
+++ b/src/mesa/drivers/windows/wmesa.c
@@ -1,4 +1,4 @@
-/* $Id: wmesa.c,v 1.16 2001/05/09 20:42:37 brianp Exp $ */
+/* $Id: wmesa.c,v 1.17 2001/05/21 14:46:33 brianp Exp $ */
/*
* Windows (Win32) device driver for Mesa 3.4
@@ -1050,7 +1050,7 @@ static void read_rgba_pixels( const GLcontext* ctx,
assert(Current->rgb_flag==GL_TRUE);
for (i=0; i<n; i++) {
if (mask[i]) {
- GLint y2 = Current->Height - y[i] - 1;
+ GLint y2 = Current->height - y[i] - 1;
Color=GetPixel(DC,x[i],y2);
rgba[i][RCOMP] = GetRValue(Color);
rgba[i][GCOMP] = GetGValue(Color);