texenvprogram: fix for ARB_draw_buffers.
[mesa.git] / progs / openvg / trivial / eglcommon.h
1 #ifndef EGLCOMMON_H
2 #define EGLCOMMON_H
3
4 typedef void (*init_func)();
5 typedef void (*reshape_func)(int, int);
6 typedef void (*draw_func)();
7 typedef int (*key_func)(unsigned key);
8
9
10 void set_window_size(int width, int height);
11 int window_width(void);
12 int window_height(void);
13
14 int run(int argc, char **argv,
15 init_func init,
16 reshape_func resh,
17 draw_func draw,
18 key_func key);
19
20 #endif