sgl

diff 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
line diff
     1.1 --- a/src/sgl.c	Wed May 11 05:53:26 2011 +0300
     1.2 +++ b/src/sgl.c	Wed May 11 09:09:43 2011 +0300
     1.3 @@ -1,11 +1,11 @@
     1.4  #include "sgl.h"
     1.5  
     1.6 +void sgl_register_modules(void);
     1.7 +
     1.8  int sgl_init(void)
     1.9  {
    1.10 -	/*if(wsys_init() <= 0) {
    1.11 -		fprintf(stderr, "no window system modules found\n");
    1.12 -		return -1;
    1.13 -	}*/
    1.14 +	sgl_register_modules();
    1.15 +	sgl_sort_modules();
    1.16  	return 0;
    1.17  }
    1.18