sgl

view 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 source
1 #include "sgl.h"
3 int sgl_init(void)
4 {
5 /*if(wsys_init() <= 0) {
6 fprintf(stderr, "no window system modules found\n");
7 return -1;
8 }*/
9 return 0;
10 }
12 int sgl_set_video_mode(int xsz, int ysz, int bpp)
13 {
14 return 0;
15 }
17 int sgl_get_video_mode(int *xsz, int *ysz, int *bpp)
18 {
19 return 0;
20 }
22 int sgl_window(int x, int y, unsigned int mode)
23 {
24 return 0;
25 }
27 void sgl_close(int win)
28 {
29 }