3dphotoshoot

annotate src/texture.h @ 18:dccbd7d65517

moved to android-19 to make it work with android 4.x
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 10 Jun 2015 18:53:28 +0300
parents
children 4ca4e3c5a754
rev   line source
nuclear@17 1 #ifndef TEXTURE_H_
nuclear@17 2 #define TEXTURE_H_
nuclear@17 3
nuclear@17 4 struct texture {
nuclear@17 5 unsigned int texid;
nuclear@17 6 int width, height;
nuclear@17 7 int img_width, img_height; /* in case we have a smaller image in a pow2 texture */
nuclear@17 8 };
nuclear@17 9
nuclear@17 10 int load_texture(struct texture *tex, const char *fname);
nuclear@17 11 struct texture *get_texture(const char *fname);
nuclear@17 12
nuclear@17 13 int gen_debug_texture(struct texture *tex);
nuclear@17 14
nuclear@17 15 #endif /* TEXTURE_H_ */