Skip to content

Commit

Permalink
Oops, fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
SmileTheory committed Mar 6, 2013
1 parent 7c04002 commit 11e83b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/renderergl2/tr_backend.c
Expand Up @@ -1196,7 +1196,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];
Expand Down

0 comments on commit 11e83b2

Please sign in to comment.