mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-12 23:54:33 +00:00
forgot to rename Mod_LoadMMNearest to Mod_ProcessTexture
This commit is contained in:
parent
b55b0264b5
commit
96aba78186
5 changed files with 5 additions and 5 deletions
|
@ -452,7 +452,7 @@ void Mod_TouchModel (char *name);
|
||||||
mleaf_t *Mod_PointInLeaf (float *p, model_t *model);
|
mleaf_t *Mod_PointInLeaf (float *p, model_t *model);
|
||||||
byte *Mod_LeafPVS (mleaf_t *leaf, model_t *model);
|
byte *Mod_LeafPVS (mleaf_t *leaf, model_t *model);
|
||||||
model_t *Mod_FindName (char *name);
|
model_t *Mod_FindName (char *name);
|
||||||
void Mod_LoadMMNearest(miptex_t *mt, texture_t *tx);
|
void Mod_ProcessTexture(miptex_t *mt, texture_t *tx);
|
||||||
void Mod_LoadLighting (lump_t *l);
|
void Mod_LoadLighting (lump_t *l);
|
||||||
|
|
||||||
#endif // _MODEL_H
|
#endif // _MODEL_H
|
||||||
|
|
|
@ -46,7 +46,7 @@ extern byte *mod_base;
|
||||||
const int mod_lightmap_bytes=3;
|
const int mod_lightmap_bytes=3;
|
||||||
|
|
||||||
void
|
void
|
||||||
Mod_LoadMMNearest(miptex_t *mt, texture_t *tx)
|
Mod_ProcessTexture(miptex_t *mt, texture_t *tx)
|
||||||
{
|
{
|
||||||
texture_mode = GL_LINEAR_MIPMAP_NEAREST; //_LINEAR;
|
texture_mode = GL_LINEAR_MIPMAP_NEAREST; //_LINEAR;
|
||||||
tx->gl_texturenum = GL_LoadTexture (mt->name, tx->width, tx->height, (byte *)(tx+1), true, false, 1);
|
tx->gl_texturenum = GL_LoadTexture (mt->name, tx->width, tx->height, (byte *)(tx+1), true, false, 1);
|
||||||
|
|
|
@ -201,7 +201,7 @@ void Mod_LoadTextures (lump_t *l)
|
||||||
R_InitSky (tx);
|
R_InitSky (tx);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Mod_LoadMMNearest(mt, tx);
|
Mod_ProcessTexture(mt, tx);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,7 @@ R_InitSky(struct texture_s *mt)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
Mod_LoadMMNearest(miptex_t *mx, texture_t *tx)
|
Mod_ProcessTexture(miptex_t *mx, texture_t *tx)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,7 @@ GL_SubdivideSurface(msurface_t *fa)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
Mod_LoadMMNearest(miptex_t *mt, texture_t *tx)
|
Mod_ProcessTexture(miptex_t *mt, texture_t *tx)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue