diff options
author | marha <marha@users.sourceforge.net> | 2011-05-03 15:37:14 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-05-03 15:37:14 +0000 |
commit | e4bd55e182560fa87af77ee3ec49fc1a907ead85 (patch) | |
tree | f77ade9dac153a4f45e08ccaf260de8d8ddbbb17 /mesalib/src/mesa/program/prog_statevars.c | |
parent | e8af1ef3142aaaf2d17f2d3710e23eee1baf8a61 (diff) | |
parent | cc93496bdbb3e7aea51033ece75fa85cfb5845d4 (diff) | |
download | vcxsrv-e4bd55e182560fa87af77ee3ec49fc1a907ead85.tar.gz vcxsrv-e4bd55e182560fa87af77ee3ec49fc1a907ead85.tar.bz2 vcxsrv-e4bd55e182560fa87af77ee3ec49fc1a907ead85.zip |
svn merge ^/branches/released .
Diffstat (limited to 'mesalib/src/mesa/program/prog_statevars.c')
-rw-r--r-- | mesalib/src/mesa/program/prog_statevars.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesalib/src/mesa/program/prog_statevars.c b/mesalib/src/mesa/program/prog_statevars.c index 348ace838..6a3752810 100644 --- a/mesalib/src/mesa/program/prog_statevars.c +++ b/mesalib/src/mesa/program/prog_statevars.c @@ -602,11 +602,11 @@ _mesa_fetch_state(struct gl_context *ctx, const gl_state_index state[], value[0] = 1.0F;
value[1] = 0.0F;
value[2] = -1.0F;
- value[3] = (GLfloat) (ctx->DrawBuffer->Height - 1);
+ value[3] = (GLfloat) ctx->DrawBuffer->Height;
} else {
/* Flipping Y upside down (XY) followed by identity (ZW). */
value[0] = -1.0F;
- value[1] = (GLfloat) (ctx->DrawBuffer->Height - 1);
+ value[1] = (GLfloat) ctx->DrawBuffer->Height;
value[2] = 1.0F;
value[3] = 0.0F;
}
|