sgl
diff src/sgl.c @ 1:0c13a30be2c1
wsys
author | John Tsiombikas <nuclear@siggraph.org> |
---|---|
date | Wed, 11 May 2011 05:34:37 +0300 |
parents | |
children | 1b6c5dadb460 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/sgl.c Wed May 11 05:34:37 2011 +0300 1.3 @@ -0,0 +1,29 @@ 1.4 +#include "sgl.h" 1.5 + 1.6 +int sgl_init(void) 1.7 +{ 1.8 + /*if(wsys_init() <= 0) { 1.9 + fprintf(stderr, "no window system modules found\n"); 1.10 + return -1; 1.11 + }*/ 1.12 + return 0; 1.13 +} 1.14 + 1.15 +int sgl_set_video_mode(int xsz, int ysz, int bpp) 1.16 +{ 1.17 + return 0; 1.18 +} 1.19 + 1.20 +int sgl_get_video_mode(int *xsz, int *ysz, int *bpp) 1.21 +{ 1.22 + return 0; 1.23 +} 1.24 + 1.25 +int sgl_window(int x, int y, unsigned int mode) 1.26 +{ 1.27 + return 0; 1.28 +} 1.29 + 1.30 +void sgl_close(int win) 1.31 +{ 1.32 +}