diff options
author | Brian Paul <[email protected]> | 2000-04-19 01:44:01 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-04-19 01:44:01 +0000 |
commit | 71dea349d2be623b7819389428b0d6a124e8d184 (patch) | |
tree | 52ed6a90811f81a3eb86e5fbf478810b4e924327 /src/mesa/drivers/x11/xfonts.c | |
parent | 353479fa8a63aebc21825ad614115b7b5434fe0d (diff) |
minor clean-up
Diffstat (limited to 'src/mesa/drivers/x11/xfonts.c')
-rw-r--r-- | src/mesa/drivers/x11/xfonts.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/mesa/drivers/x11/xfonts.c b/src/mesa/drivers/x11/xfonts.c index e69f71224f9..0daaa9443f8 100644 --- a/src/mesa/drivers/x11/xfonts.c +++ b/src/mesa/drivers/x11/xfonts.c @@ -1,10 +1,10 @@ -/* $Id: xfonts.c,v 1.5 1999/12/12 17:04:50 brianp Exp $ */ +/* $Id: xfonts.c,v 1.6 2000/04/19 01:44:02 brianp Exp $ */ /* * Mesa 3-D graphics library * Version: 3.3 * - * Copyright (C) 1999 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2000 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -44,8 +44,10 @@ #include "GL/xmesa.h" #include "context.h" #include "mem.h" +#include "xfonts.h" #include "xmesaP.h" + /* Some debugging info. */ #ifdef DEBUG @@ -373,7 +375,7 @@ bm_height); glEndList (); } - free (bm); + FREE(bm); XFreeFontInfo( NULL, fs, 0 ); XFreeGC (dpy, gc); @@ -386,6 +388,8 @@ bm_height); glPixelStorei(GL_UNPACK_ALIGNMENT, alignment); } + +extern void xmesa_xfonts_dummy( void ); void xmesa_xfonts_dummy( void ) { /* silence unused var warnings */ |