TextureCache/TextureCache.h
Josh Holtrop 4349f3f82c remove GLU/TextureLoader/FileLoader dependance
no longer generating mipmaps
2011-05-19 16:54:10 -04:00

26 lines
343 B
C++

#ifndef TEXTURECACHE_H
#define TEXTURECACHE_H TEXTURECACHE_H
#include <SDL.h>
#ifdef GL_INCLUDE_FILE
#include GL_INCLUDE_FILE
#else
#include <GL/gl.h>
#endif
#include <map>
#include <string>
class TextureCache
{
public:
GLuint load(const char *fname);
protected:
/* data */
std::map< std::string, GLuint > m_cache;
};
#endif