From 919ec22ecf72aa163e1b97d8c7381002131ed32c Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Fri, 8 Aug 2008 02:52:10 -0700 Subject: glx/x11: Added some #ifdef GLX_DIRECT_RENDERING protection --- src/glx/x11/singlepix.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/glx/x11/singlepix.c') diff --git a/src/glx/x11/singlepix.c b/src/glx/x11/singlepix.c index 5f977666371..77bd4a65ed8 100644 --- a/src/glx/x11/singlepix.c +++ b/src/glx/x11/singlepix.c @@ -119,12 +119,14 @@ void NAME(_gloffset_GetSeparableFilter)(GLenum target, GLenum format, GLenum typ { __GLXcontext * const gc = __glXGetCurrentContext(); +#ifdef GLX_DIRECT_RENDERING if (gc->driContext) { CALL_GetSeparableFilter(GET_DISPATCH(), (target, format, type, row, column, span)); return; - } - else { + } else +#endif + { Display *const dpy = gc->currentDpy; const GLuint cmdlen = __GLX_PAD(13); -- cgit v1.2.3