mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 06:10:56 +00:00
[gl] Clean out the last of the mirror code
Stragglers...
This commit is contained in:
parent
303756b41b
commit
aa41259008
3 changed files with 0 additions and 8 deletions
|
@ -36,8 +36,6 @@ typedef struct gltex_s {
|
|||
struct instsurf_s **tex_chain_tail;
|
||||
} gltex_t;
|
||||
|
||||
extern int gl_mirrortexturenum; // quake texturenum, not gltexturenum
|
||||
|
||||
struct model_s;
|
||||
struct entity_s;
|
||||
struct msurface_s;
|
||||
|
|
|
@ -68,9 +68,6 @@
|
|||
#include "varrays.h"
|
||||
#include "vid_gl.h"
|
||||
|
||||
int gl_mirrortexturenum; // quake texturenum, not gltexturenum
|
||||
plane_t *gl_mirror_plane;
|
||||
|
||||
float gl_r_world_matrix[16];
|
||||
//FIXME static float r_base_world_matrix[16];
|
||||
|
||||
|
|
|
@ -175,7 +175,6 @@ gl_R_NewMap (model_t *worldmodel, struct model_s **models, int num_models)
|
|||
GL_BuildLightmaps (models, num_models);
|
||||
|
||||
// identify sky texture
|
||||
gl_mirrortexturenum = -1;
|
||||
gl_R_ClearTextures ();
|
||||
for (unsigned i = 0; i < brush->numtextures; i++) {
|
||||
tex = brush->textures[i];
|
||||
|
@ -184,8 +183,6 @@ gl_R_NewMap (model_t *worldmodel, struct model_s **models, int num_models)
|
|||
if (!strncmp (tex->name, "sky", 3)) {
|
||||
gl_R_InitSky (tex);
|
||||
}
|
||||
if (!strncmp (tex->name, "window02_1", 10))
|
||||
gl_mirrortexturenum = i;
|
||||
}
|
||||
|
||||
gl_R_InitSurfaceChains (brush);
|
||||
|
|
Loading…
Reference in a new issue