diff options
author | SmileTheory <SmileTheory@gmail.com> | 2013-03-05 20:21:03 -0800 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-03-19 16:41:15 +0000 |
commit | a4fc8d7654e5f5bf155bc30a04738de0cf8cce48 (patch) | |
tree | 46a2c845697c6692cd2f13b9fc284bdf0f4a1cc8 /src/renderergl2/tr_backend.c | |
parent | 613beeac61078635e45fd2cb857cdb98ae9ae7ac (diff) |
Oops, fix typo.
Diffstat (limited to 'src/renderergl2/tr_backend.c')
-rw-r--r-- | src/renderergl2/tr_backend.c | 2 |
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]; |