summaryrefslogtreecommitdiffstats
path: root/src/glx/x11/singlepix.c
diff options
context:
space:
mode:
authorJeremy Huddleston <[email protected]>2008-08-08 02:52:10 -0700
committerJeremy Huddleston <[email protected]>2008-08-08 02:52:10 -0700
commit919ec22ecf72aa163e1b97d8c7381002131ed32c (patch)
tree4ee6306e2e720986f164ccccb28f6f2842898bb3 /src/glx/x11/singlepix.c
parentec770150edff9a5955f52e538adc4bac94c92cad (diff)
glx/x11: Added some #ifdef GLX_DIRECT_RENDERING protection
Diffstat (limited to 'src/glx/x11/singlepix.c')
-rw-r--r--src/glx/x11/singlepix.c6
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);