Well, this makes tga files nicer looking.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@490 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
b8a58b4db2
commit
5e523f6c29
1 changed files with 2 additions and 1 deletions
|
@ -1133,6 +1133,8 @@ void GLDraw_Character (int x, int y, unsigned int num)
|
||||||
frow = row*0.0625;
|
frow = row*0.0625;
|
||||||
fcol = col*0.0625;
|
fcol = col*0.0625;
|
||||||
size = 0.0625;
|
size = 0.0625;
|
||||||
|
glEnable(GL_BLEND);
|
||||||
|
glDisable(GL_ALPHA_TEST);
|
||||||
|
|
||||||
glBegin (GL_QUADS);
|
glBegin (GL_QUADS);
|
||||||
glTexCoord2f (fcol, frow);
|
glTexCoord2f (fcol, frow);
|
||||||
|
@ -1538,7 +1540,6 @@ void GLDraw_ConsoleBackground (int lines)
|
||||||
y = (vid.height * 3) >> 2;
|
y = (vid.height * 3) >> 2;
|
||||||
conback->width = vid.conwidth;
|
conback->width = vid.conwidth;
|
||||||
conback->height = vid.conheight;
|
conback->height = vid.conheight;
|
||||||
|
|
||||||
if (lines > y)
|
if (lines > y)
|
||||||
{
|
{
|
||||||
glColor3f (1,1,1);
|
glColor3f (1,1,1);
|
||||||
|
|
Loading…
Reference in a new issue