summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSmileTheory <SmileTheory@gmail.com>2013-03-05 20:21:03 -0800
committerTim Angus <tim@ngus.net>2013-03-19 16:41:15 +0000
commita4fc8d7654e5f5bf155bc30a04738de0cf8cce48 (patch)
tree46a2c845697c6692cd2f13b9fc284bdf0f4a1cc8 /src
parent613beeac61078635e45fd2cb857cdb98ae9ae7ac (diff)
Oops, fix typo.
Diffstat (limited to 'src')
-rw-r--r--src/renderergl2/tr_backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderergl2/tr_backend.c b/src/renderergl2/tr_backend.c
index e83806ab..db517103 100644
--- a/src/renderergl2/tr_backend.c
+++ b/src/renderergl2/tr_backend.c
@@ -1197,7 +1197,7 @@ const void *RB_DrawSurfs( const void *data ) {
box[0] = backEnd.viewParms.viewportX / (float)glConfig.vidWidth;
box[1] = backEnd.viewParms.viewportY / (float)glConfig.vidHeight;
box[2] = box[0] + backEnd.viewParms.viewportWidth / (float)glConfig.vidWidth;
- box[3] = box[1] - backEnd.viewParms.viewportHeight / (float)glConfig.vidHeight;
+ box[3] = box[1] + backEnd.viewParms.viewportHeight / (float)glConfig.vidHeight;
texCoords[0][0] = box[0]; texCoords[0][1] = box[3];
texCoords[1][0] = box[2]; texCoords[1][1] = box[3];