sgl
diff include/sgl.h @ 1:0c13a30be2c1
wsys
author | John Tsiombikas <nuclear@siggraph.org> |
---|---|
date | Wed, 11 May 2011 05:34:37 +0300 |
parents | 40491760d6e3 |
children | 648f8604d2b2 |
line diff
1.1 --- a/include/sgl.h Tue May 10 00:06:20 2011 +0300 1.2 +++ b/include/sgl.h Wed May 11 05:34:37 2011 +0300 1.3 @@ -20,11 +20,14 @@ 1.4 SGL_NUM_CALLBACKS 1.5 }; 1.6 1.7 +int sgl_init(void); 1.8 +void sgl_shutdown(void); 1.9 + 1.10 int sgl_set_video_mode(int xsz, int ysz, int bpp); 1.11 int sgl_get_video_mode(int *xsz, int *ysz, int *bpp); 1.12 1.13 -int sgl_window(int x, int y, unsigned int mode); 1.14 -void sgl_close(int win); 1.15 +int sgl_window(int xsz, int ysz, unsigned int mode); 1.16 +void sgl_close_window(int win); 1.17 1.18 int sgl_push_callbacks(void); 1.19 int sgl_pop_callbacks(void);