diff options
Diffstat (limited to 'src/Textures.h')
-rw-r--r-- | src/Textures.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/Textures.h b/src/Textures.h new file mode 100644 index 0000000..6deeb1e --- /dev/null +++ b/src/Textures.h @@ -0,0 +1,14 @@ +/* +(c) 2008 Victor "ErV" Eremin (Voronezh, Russia) +mailto:ErV2005@rambler.ru, erv@box.vsi.ru +for non-commercial use only +*/ +#ifndef TEXTURES_H +#define TEXTURES_H + +#include <SDL/SDL.h> +#include <GL/gl.h> + +GLuint loadTexture(const char* filename, GLenum minFilter = GL_LINEAR, GLenum magFilter = GL_LINEAR, bool mipmaps = true); + +#endif |