mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-02-02 04:32:24 +00:00
Nuked unused "texture_mode" - probably leftovers from old stuffs.
This commit is contained in:
parent
d76c72a169
commit
5ba9c66816
4 changed files with 0 additions and 12 deletions
|
@ -85,7 +85,6 @@ extern DELTEXFUNCPTR delTexFunc;
|
|||
extern TEXSUBIMAGEPTR TexSubImage2DFunc;
|
||||
|
||||
extern int texture_extension_number;
|
||||
extern int texture_mode;
|
||||
|
||||
extern float gldepthmin, gldepthmax;
|
||||
|
||||
|
|
|
@ -60,14 +60,12 @@ Mod_ProcessTexture (miptex_t *mt, texture_t *tx)
|
|||
{
|
||||
char name[32];
|
||||
|
||||
texture_mode = GL_LINEAR_MIPMAP_NEAREST; // _LINEAR;
|
||||
snprintf (name, sizeof (name), "fb_%s", mt->name);
|
||||
tx->gl_fb_texturenum =
|
||||
Mod_Fullbright ((byte *) (tx + 1), tx->width, tx->height, name);
|
||||
tx->gl_texturenum =
|
||||
GL_LoadTexture (mt->name, tx->width, tx->height, (byte *) (tx + 1),
|
||||
true, false, 1);
|
||||
texture_mode = GL_LINEAR;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -63,7 +63,6 @@ cvar_t *vid_mode;
|
|||
|
||||
/*-----------------------------------------------------------------------*/
|
||||
|
||||
int texture_mode = GL_LINEAR_MIPMAP_LINEAR; // DESPAIR: was GL_LINEAR
|
||||
int texture_extension_number = 1;
|
||||
float gldepthmin, gldepthmax;
|
||||
|
||||
|
|
|
@ -530,14 +530,6 @@ CheckArrayExtensions (void)
|
|||
Sys_Error ("Vertex array extension not present");
|
||||
}
|
||||
|
||||
//int texture_mode = GL_NEAREST;
|
||||
//int texture_mode = GL_NEAREST_MIPMAP_NEAREST;
|
||||
//int texture_mode = GL_NEAREST_MIPMAP_LINEAR;
|
||||
int texture_mode = GL_LINEAR;
|
||||
|
||||
//int texture_mode = GL_LINEAR_MIPMAP_NEAREST;
|
||||
//int texture_mode = GL_LINEAR_MIPMAP_LINEAR;
|
||||
|
||||
int texture_extension_number = 1;
|
||||
|
||||
#ifdef _WIN32
|
||||
|
|
Loading…
Reference in a new issue