dungeon_crawler

view prototype/src/texture.h @ 79:110b2af4b9d8

fixed the shader non-conformity by explicitly converting 2.2 to vec3 before passing it to pow for the texel inverse-gamma thing
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 27 Oct 2012 01:54:39 +0300
parents
children
line source
1 #ifndef TEXTURE_H_
2 #define TEXTURE_H_
4 #include "dataset.h"
6 typedef DataSet<unsigned int> TextureSet;
8 unsigned int load_texture(const char *fname);
9 void destroy_texture(unsigned int tex);
11 #endif // TEXTURE_H_