sgl

diff src/wsys.h @ 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
line diff
     1.1 --- a/src/wsys.h	Wed May 11 05:53:26 2011 +0300
     1.2 +++ b/src/wsys.h	Wed May 11 09:09:43 2011 +0300
     1.3 @@ -10,13 +10,14 @@
     1.4  
     1.5  	int (*set_vidmode)(int, int, int);
     1.6  	int (*get_vidmode)(int*, int*, int*);
     1.7 -	int (*window)(int, int, unsigned int);
     1.8 -	void (*close_win)(int);
     1.9 +	int (*create_window)(int, int, unsigned int);
    1.10 +	void (*close_window)(int);
    1.11  
    1.12  	struct wsys_module *next;
    1.13  };
    1.14  
    1.15  int sgl_register_module(struct wsys_module *ws);
    1.16 +void sgl_sort_modules(void);
    1.17  struct wsys_module *sgl_wsys_module(void);
    1.18  
    1.19  void dbg(void);