Browse Source

ref_soft: lowmemory: prevent redefines

pull/2/head
mittorn 5 years ago
parent
commit
d4efb55492
  1. 2
      r_local.h
  2. 1
      r_studio.c

2
r_local.h

@ -64,6 +64,8 @@ extern byte *r_temppool; @@ -64,6 +64,8 @@ extern byte *r_temppool;
#define MAX_DECAL_SURFS 4096
#if XASH_LOW_MEMORY
#undef MAX_TEXTURES
#undef MAX_DECAL_SURFS
#define MAX_TEXTURES 1024
#define MAX_DECAL_SURFS 256
#endif

1
r_studio.c

@ -57,6 +57,7 @@ typedef struct sortedmesh_s @@ -57,6 +57,7 @@ typedef struct sortedmesh_s
} sortedmesh_t;
#if XASH_LOW_MEMORY
#undef MAXSTUDIOVERTS
#define MAXSTUDIOVERTS 1024
#endif

Loading…
Cancel
Save