mirror of
https://github.com/ZDoom/Raze.git
synced 2024-12-15 07:01:15 +00:00
21 lines
330 B
C
21 lines
330 B
C
#ifndef texcache_h_
|
|
# define texcache_h_
|
|
|
|
#include "vfs.h"
|
|
|
|
#ifdef USE_OPENGL
|
|
|
|
#define GLTEXCACHEADSIZ 8192
|
|
|
|
typedef struct {
|
|
pthtyp *list[GLTEXCACHEADSIZ];
|
|
|
|
} globaltexcache;
|
|
|
|
extern globaltexcache texcache;
|
|
|
|
extern pthtyp *texcache_fetch(int32_t dapicnum, int32_t dapalnum, int32_t dashade, int32_t dameth);
|
|
|
|
#endif
|
|
|
|
#endif
|