[model] Move ANIM_CYCLE into model.h

Need it in the vulkan renderer to undo the scaling
This commit is contained in:
Bill Currie 2022-05-26 22:30:29 +09:00
parent 847b3199d3
commit 77505abd94
2 changed files with 1 additions and 1 deletions

View file

@ -90,6 +90,7 @@ typedef struct instsurf_s {
float *color;
} instsurf_t;
#define ANIM_CYCLE 2
typedef struct texture_s {
char name[16];
unsigned width, height;

View file

@ -362,7 +362,6 @@ Mod_LoadTextures (model_t *mod, bsp_t *bsp)
Sys_Error ("Bad animating texture %s", tx->name);
}
#define ANIM_CYCLE 2
// link them all together
for (int j = 0; j < max; j++) {
tx2 = anims[j];