sgl
annotate src/sgl.c @ 1:0c13a30be2c1
wsys
author | John Tsiombikas <nuclear@siggraph.org> |
---|---|
date | Wed, 11 May 2011 05:34:37 +0300 |
parents | |
children | 1b6c5dadb460 |
rev | line source |
---|---|
nuclear@1 | 1 #include "sgl.h" |
nuclear@1 | 2 |
nuclear@1 | 3 int sgl_init(void) |
nuclear@1 | 4 { |
nuclear@1 | 5 /*if(wsys_init() <= 0) { |
nuclear@1 | 6 fprintf(stderr, "no window system modules found\n"); |
nuclear@1 | 7 return -1; |
nuclear@1 | 8 }*/ |
nuclear@1 | 9 return 0; |
nuclear@1 | 10 } |
nuclear@1 | 11 |
nuclear@1 | 12 int sgl_set_video_mode(int xsz, int ysz, int bpp) |
nuclear@1 | 13 { |
nuclear@1 | 14 return 0; |
nuclear@1 | 15 } |
nuclear@1 | 16 |
nuclear@1 | 17 int sgl_get_video_mode(int *xsz, int *ysz, int *bpp) |
nuclear@1 | 18 { |
nuclear@1 | 19 return 0; |
nuclear@1 | 20 } |
nuclear@1 | 21 |
nuclear@1 | 22 int sgl_window(int x, int y, unsigned int mode) |
nuclear@1 | 23 { |
nuclear@1 | 24 return 0; |
nuclear@1 | 25 } |
nuclear@1 | 26 |
nuclear@1 | 27 void sgl_close(int win) |
nuclear@1 | 28 { |
nuclear@1 | 29 } |