xgetshape

view src/texture.h @ 1:9b560415bad4

blured shadow
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 03 Nov 2015 04:08:32 +0200
parents 2f02f100b20f
children
line source
1 #ifndef TEXTURE_H_
2 #define TEXTURE_H_
4 #include "image.h"
6 struct texture {
7 unsigned int id;
8 int width, height, tex_width, tex_height;
9 };
11 int image_texture(struct texture *tex, struct image *img);
12 void destroy_texture(struct texture *tex);
14 #endif /* TEXTURE_H_ */