From 80af3614d88c0cac160e787de7f34b37e96cb626 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 13 Oct 1999 18:49:47 +0000 Subject: now using MALLOC, CALLOC, FREE, etc macros --- src/mesa/drivers/x11/xfonts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/drivers/x11/xfonts.c') diff --git a/src/mesa/drivers/x11/xfonts.c b/src/mesa/drivers/x11/xfonts.c index c0e0a5fcd0..8745276123 100644 --- a/src/mesa/drivers/x11/xfonts.c +++ b/src/mesa/drivers/x11/xfonts.c @@ -1,4 +1,4 @@ -/* $Id: xfonts.c,v 1.1 1999/08/19 00:55:42 jtg Exp $ */ +/* $Id: xfonts.c,v 1.2 1999/10/13 18:49:47 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -257,7 +257,7 @@ void Fake_glXUseXFont( Font font, int first, int count, int listbase ) max_bm_width = (max_width + 7) / 8; max_bm_height = max_height; - bm = (GLubyte *) malloc ((max_bm_width * max_bm_height) * sizeof + bm = (GLubyte *) MALLOC((max_bm_width * max_bm_height) * sizeof (GLubyte)); if (!bm) { XFreeFontInfo( NULL, fs, 0 ); -- cgit v1.2.3