init glft as well
authorDana Jansens <danakj@orodu.net>
Mon, 26 May 2003 21:02:20 +0000 (21:02 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 26 May 2003 21:02:20 +0000 (21:02 +0000)
render2/init.c

index 70914b07fc72db5b8ecb4e4aa22147daf783828e..b691645659658cd6e9e943fef15d1e48ea992a54 100644 (file)
@@ -1,6 +1,7 @@
 #include "instance.h"
 #include "render.h"
 #include "debug.h"
+#include "glft/glft.h"
 
 static int glXRating(Display *display, XVisualInfo *v)
 {
@@ -78,7 +79,10 @@ struct RrInstance *RrInit(Display *display,
     if (rate > 0) {
         RrDebug("picked visual %d with rating %d\n", best, rate);
         ret = RrInstanceNew(display, screen, vilist[best]);
+    
+        GlftInit();
     }
+
     return ret;
 }