xgetshape

view src/texture.h @ 2:b832d3b3ed98

taking offset into account in get_window_shape
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 01 Feb 2016 12:18:29 +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_ */