diff options
Diffstat (limited to 'src/glx/x11/singlepix.c')
-rw-r--r-- | src/glx/x11/singlepix.c | 6 |
1 files changed, 4 insertions, 2 deletions
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); |