sgl
annotate src/sgl.c @ 3:1b6c5dadb460
started hacking the X11 module
author | John Tsiombikas <nuclear@siggraph.org> |
---|---|
date | Wed, 11 May 2011 09:09:43 +0300 |
parents | 0c13a30be2c1 |
children | 648f8604d2b2 |
rev | line source |
---|---|
nuclear@1 | 1 #include "sgl.h" |
nuclear@1 | 2 |
nuclear@3 | 3 void sgl_register_modules(void); |
nuclear@3 | 4 |
nuclear@1 | 5 int sgl_init(void) |
nuclear@1 | 6 { |
nuclear@3 | 7 sgl_register_modules(); |
nuclear@3 | 8 sgl_sort_modules(); |
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 } |