mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-11 07:11:36 +00:00
Oops, fix typo.
This commit is contained in:
parent
7c04002b87
commit
11e83b2ee3
1 changed files with 1 additions and 1 deletions
|
@ -1196,7 +1196,7 @@ const void *RB_DrawSurfs( const void *data ) {
|
||||||
box[0] = backEnd.viewParms.viewportX / (float)glConfig.vidWidth;
|
box[0] = backEnd.viewParms.viewportX / (float)glConfig.vidWidth;
|
||||||
box[1] = backEnd.viewParms.viewportY / (float)glConfig.vidHeight;
|
box[1] = backEnd.viewParms.viewportY / (float)glConfig.vidHeight;
|
||||||
box[2] = box[0] + backEnd.viewParms.viewportWidth / (float)glConfig.vidWidth;
|
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[0][0] = box[0]; texCoords[0][1] = box[3];
|
||||||
texCoords[1][0] = box[2]; texCoords[1][1] = box[3];
|
texCoords[1][0] = box[2]; texCoords[1][1] = box[3];
|
||||||
|
|
Loading…
Reference in a new issue