st/xa: Initial import of the xa state-tracker and the xa-vmwgfx target.
[mesa.git] / src / gallium / state_trackers / glx / xlib / glx_usefont.c
index e502198b2046f0ae7c8fec9c63b2723034a8f113..0aa37e150b8c6f24341be53ec6d49b6a6e24fe74 100644 (file)
@@ -30,8 +30,7 @@
  */
 
 
-#include "main/context.h"
-#include "main/imports.h"
+#include "main/core.h"
 #include <GL/glx.h>
 
 
@@ -343,7 +342,7 @@ glXUseXFont(Font font, int first, int count, int listbase)
       glNewList(list, GL_COMPILE);
       if (valid && (bm_width > 0) && (bm_height > 0)) {
 
-        MEMSET(bm, '\0', bm_width * bm_height);
+        memset(bm, '\0', bm_width * bm_height);
         fill_bitmap(dpy, win, gc, bm_width, bm_height, x, y, c, bm);
 
         glBitmap(width, height, x0, y0, dx, dy, bm);