mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 01:11:44 +00:00
d63cf04e06
This is a pointless relic from the past and makes zero sense with modern graphics hardware.
29 lines
399 B
C
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
|