diff options
author | Kristian Høgsberg <[email protected]> | 2010-07-26 15:50:02 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2010-07-26 15:52:45 -0400 |
commit | 2235b1c72d79ec00a03c99219154e3f9103e692b (patch) | |
tree | fc083cf778d38f6362059a0ef59a8799cd9fea1f /src/glx | |
parent | c88fc26ac9774e992501fe219caf71b290993fbf (diff) |
glx: Enable copy subbuffer patch when GLX_DIRECT_RENDERING is #defined
Depending on __DRI_COPY_SUB_BUFFER doesn't work when we no longer include
dri_interface.h.
https://bugs.freedesktop.org/show_bug.cgi?id=29264
Diffstat (limited to 'src/glx')
-rw-r--r-- | src/glx/glxcmds.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/glx/glxcmds.c b/src/glx/glxcmds.c index b92638c9c22..cc1197b504a 100644 --- a/src/glx/glxcmds.c +++ b/src/glx/glxcmds.c @@ -2575,7 +2575,9 @@ __glXCopySubBufferMESA(Display * dpy, GLXDrawable drawable, INT32 *x_ptr, *y_ptr, *w_ptr, *h_ptr; CARD8 opcode; -#ifdef __DRI_COPY_SUB_BUFFER + fprintf(stderr, "copy sub: %d,%d %dx%d\n", x, y , width, height); + +#if defined(GLX_DIRECT_RENDERING) && !defined(GLX_USE_APPLEGL) __GLXDRIdrawable *pdraw = GetGLXDRIDrawable(dpy, drawable); if (pdraw != NULL) { __GLXscreenConfigs *psc = pdraw->psc; |