mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
renders: rename MAX_LBM_HEIGHT to MAX_LBM_WIDTH
This commit is contained in:
parent
e4849dc9d4
commit
214556728d
2 changed files with 5 additions and 5 deletions
|
@ -2925,16 +2925,16 @@ Mod_LoadLimits(const char *mod_name, void *extradata, modtype_t type)
|
|||
|
||||
pheader = (dmdx_t *)extradata;
|
||||
|
||||
if (pheader->skinheight > MAX_LBM_HEIGHT)
|
||||
if (pheader->skinheight > MAX_LBM_WIDTH)
|
||||
{
|
||||
R_Printf(PRINT_ALL, "%s: model %s has a skin taller %d than %d\n",
|
||||
__func__, mod_name, pheader->skinheight, MAX_LBM_HEIGHT);
|
||||
__func__, mod_name, pheader->skinheight, MAX_LBM_WIDTH);
|
||||
}
|
||||
|
||||
if (pheader->skinwidth > MAX_LBM_HEIGHT)
|
||||
if (pheader->skinwidth > MAX_LBM_WIDTH)
|
||||
{
|
||||
R_Printf(PRINT_ALL, "%s: model %s has a skin wider %d than %d\n",
|
||||
__func__, mod_name, pheader->skinwidth, MAX_LBM_HEIGHT);
|
||||
__func__, mod_name, pheader->skinwidth, MAX_LBM_WIDTH);
|
||||
}
|
||||
|
||||
num_mesh_nodes = pheader->num_meshes;
|
||||
|
|
|
@ -83,7 +83,7 @@ typedef enum
|
|||
rserr_unknown
|
||||
} rserr_t;
|
||||
|
||||
#define MAX_LBM_HEIGHT 480
|
||||
#define MAX_LBM_WIDTH 512
|
||||
#define DEFAULT_NOLERP_LIST "pics/conchars.* pics/ch1.* pics/ch2. pics/ch3.*"
|
||||
#define DEFAULT_LMSHIFT 4
|
||||
#define BACKFACE_EPSILON 0.01
|
||||
|
|
Loading…
Reference in a new issue