Remove unused texture file loading functions

Getting cubemaps and volume textures from file is very unlikely to ever
happen for our purposes.
master
jp9000 2014-06-25 18:33:03 -07:00
parent 847bb83007
commit 16f45e7244
2 changed files with 0 additions and 20 deletions

View File

@ -693,22 +693,6 @@ texture_t gs_create_texture_from_file(const char *file, uint32_t flags)
return NULL;
}
texture_t gs_create_cubetexture_from_file(const char *file, uint32_t flags)
{
/* TODO */
UNUSED_PARAMETER(file);
UNUSED_PARAMETER(flags);
return NULL;
}
texture_t gs_create_volumetexture_from_file(const char *file, uint32_t flags)
{
/* TODO */
UNUSED_PARAMETER(file);
UNUSED_PARAMETER(flags);
return NULL;
}
static inline void assign_sprite_rect(float *start, float *end, float size,
bool flip)
{

View File

@ -481,10 +481,6 @@ EXPORT shader_t gs_create_pixelshader_from_file(const char *file,
EXPORT texture_t gs_create_texture_from_file(const char *file,
uint32_t flags);
EXPORT texture_t gs_create_cubetexture_from_file(const char *flie,
uint32_t flags);
EXPORT texture_t gs_create_volumetexture_from_file(const char *flie,
uint32_t flags);
#define GS_FLIP_U (1<<0)
#define GS_FLIP_V (1<<1)