remove comments from glft callers
authorDerek Foreman <manmower@gmail.com>
Thu, 29 May 2003 16:35:08 +0000 (16:35 +0000)
committerDerek Foreman <manmower@gmail.com>
Thu, 29 May 2003 16:35:08 +0000 (16:35 +0000)
render2/font.c

index f7cddcc21dcfa3c7777689d4cb8023895b2fb776..10dfc616b62e5bb8e98bbe5ec487f54f8f6a2b64 100644 (file)
@@ -1,4 +1,5 @@
 #include "render.h"
+#include "instance.h"
 #include "font.h"
 #include <stdlib.h>
 
@@ -8,14 +9,14 @@ struct RrFont *RrFontOpen(struct RrInstance *inst, const char *fontstring)
 
     font = malloc(sizeof(struct RrFont));
     font->inst = inst;
-/*XXX    font->font = GlftFontOpen(fontstring);*/
+    font->font = GlftFontOpen(RrDisplay(inst), RrScreen(inst), fontstring);
     return font;
 }
 
 void RrFontClose(struct RrFont *font)
 {
     if (font) {
-/*XXX        GlftFontClose(font->font);*/
+        GlftFontClose(font->font);
         free(font);
     }
 }