Let q2bsps work again when they're lacking textures.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2976 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
5e166cb9ce
commit
40952dabf4
1 changed files with 3 additions and 1 deletions
|
@ -92,6 +92,8 @@ cvar_t r_fb_bmodels = SCVARF("gl_fb_bmodels", "1",
|
|||
CVAR_SEMICHEAT|CVAR_RENDERERLATCH);
|
||||
cvar_t r_fb_models = FCVAR ("r_fb_models", "gl_fb_models", "1",
|
||||
CVAR_SEMICHEAT|CVAR_RENDERERLATCH);
|
||||
cvar_t r_skin_overlays = SCVARF ("r_skin_overlays", "1",
|
||||
CVAR_SEMICHEAT|CVAR_RENDERERLATCH);
|
||||
cvar_t r_flashblend = SCVARF ("gl_flashblend", "0",
|
||||
CVAR_ARCHIVE);
|
||||
cvar_t r_floorcolour = SCVARF ("r_floorcolour", "255 255 255",
|
||||
|
@ -537,7 +539,7 @@ void R_InitTextures (void)
|
|||
qbyte *dest;
|
||||
|
||||
// create a simple checkerboard texture for the default
|
||||
r_notexture_mip = BZ_Malloc (sizeof(texture_t) + 16*16+8*8+4*4+2*2);
|
||||
r_notexture_mip = Z_Malloc (sizeof(texture_t) + 16*16+8*8+4*4+2*2);
|
||||
|
||||
r_notexture_mip->pixbytes = 1;
|
||||
r_notexture_mip->width = r_notexture_mip->height = 16;
|
||||
|
|
Loading…
Reference in a new issue