mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
removed row and col usage from Draw_Character
This commit is contained in:
parent
46001cd9e7
commit
db71398238
1 changed files with 2 additions and 6 deletions
|
@ -285,7 +285,6 @@ void
|
|||
Draw_Character (int x, int y, int num)
|
||||
{
|
||||
float frow, fcol;
|
||||
int row, col;
|
||||
|
||||
if (num == 32)
|
||||
return; // space
|
||||
|
@ -295,11 +294,8 @@ Draw_Character (int x, int y, int num)
|
|||
if (y <= -8)
|
||||
return; // totally off screen
|
||||
|
||||
row = num >> 4;
|
||||
col = num & 15;
|
||||
|
||||
frow = row * CELL_SIZE;
|
||||
fcol = col * CELL_SIZE;
|
||||
frow = (num >> 4) * CELL_SIZE;
|
||||
fcol = (num & 15) * CELL_SIZE;
|
||||
|
||||
qfglBindTexture (GL_TEXTURE_2D, char_texture);
|
||||
|
||||
|
|
Loading…
Reference in a new issue