raze/source/build/include/texcache.h
Christoph Oelckers d63cf04e06 - removed the compressed texture cache.
This is a pointless relic from the past and makes zero sense with modern graphics hardware.
2019-09-17 20:18:18 +02:00

29 lines
399 B
C

#ifndef texcache_h_
# define texcache_h_
#ifdef __cplusplus
extern "C" {
#endif
#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
#ifdef __cplusplus
}
#endif
#endif