diff options
Diffstat (limited to 'src/glx/x11/singlepix.c')
-rw-r--r-- | src/glx/x11/singlepix.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/glx/x11/singlepix.c b/src/glx/x11/singlepix.c index cd88684f709..9c984c75d28 100644 --- a/src/glx/x11/singlepix.c +++ b/src/glx/x11/singlepix.c @@ -33,6 +33,7 @@ ** */ +#include "glheader.h" #include "packsingle.h" #include "indirect.h" #include "dispatch.h" @@ -117,12 +118,14 @@ void NAME(_gloffset_GetSeparableFilter)(GLenum target, GLenum format, GLenum typ { __GLXcontext * const gc = __glXGetCurrentContext(); - if (gc->isDirect) { +#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); |