From 286ce2719395485ffafb38097fa2551b066acd96 Mon Sep 17 00:00:00 2001 From: Kristian Høgsberg Date: Tue, 6 Nov 2007 14:34:15 -0500 Subject: Fix compilation for !GLX_DIRECT_RENDERING. --- src/glx/x11/xfont.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/glx/x11/xfont.c') diff --git a/src/glx/x11/xfont.c b/src/glx/x11/xfont.c index 5f23a79622..843a2298b2 100644 --- a/src/glx/x11/xfont.c +++ b/src/glx/x11/xfont.c @@ -34,6 +34,7 @@ called by that routine when direct rendering is enabled. */ +#ifdef GLX_DIRECT_RENDERING #include "glxclient.h" @@ -209,7 +210,6 @@ static XCharStruct *isvalid(XFontStruct *fs, int which) return(NULL); } - void DRI_glXUseXFont( Font font, int first, int count, int listbase ) { GLXContext CC; @@ -374,4 +374,4 @@ bm_height); glPixelStorei(GL_UNPACK_ALIGNMENT, alignment); } -/* The End. */ +#endif -- cgit v1.2.3