diff options
author | Kristian Høgsberg <krh@redhat.com> | 2007-11-06 14:34:15 -0500 |
---|---|---|
committer | Kristian Høgsberg <krh@redhat.com> | 2007-11-06 14:34:15 -0500 |
commit | 286ce2719395485ffafb38097fa2551b066acd96 (patch) | |
tree | 25b67492c9fa0d1a896c12453af97c852bf2b4b8 /src/glx/x11/xfont.c | |
parent | 001de0ac4e9ccd5c440dca4a2994deca668a2d9f (diff) |
Fix compilation for !GLX_DIRECT_RENDERING.
Diffstat (limited to 'src/glx/x11/xfont.c')
-rw-r--r-- | src/glx/x11/xfont.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 |