diff options
author | Kristian Høgsberg <[email protected]> | 2008-10-11 20:41:14 -0400 |
---|---|---|
committer | Alan Hourihane <[email protected]> | 2008-10-15 11:18:05 +0100 |
commit | d533a5d00ae2d0669e9da41718ee847de0c343aa (patch) | |
tree | 3d5cf489a68979fa1c117532d25cdeabacb5f25d /src/glx/x11/glxcmds.c | |
parent | e5ef0beb0549b2b613c379553cc51f9f1ae72299 (diff) |
Update DRI2 implementation according to new specification.
Diffstat (limited to 'src/glx/x11/glxcmds.c')
-rw-r--r-- | src/glx/x11/glxcmds.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/glx/x11/glxcmds.c b/src/glx/x11/glxcmds.c index 72ab48929d3..ff04853e931 100644 --- a/src/glx/x11/glxcmds.c +++ b/src/glx/x11/glxcmds.c @@ -2499,10 +2499,9 @@ static void __glXCopySubBufferMESA(Display *dpy, GLXDrawable drawable, int screen; __GLXDRIdrawable *pdraw = GetGLXDRIDrawable(dpy, drawable, &screen); if ( pdraw != NULL ) { - __GLXscreenConfigs * const psc = GetGLXScreenConfigs( dpy, screen ); - if (psc->copySubBuffer != NULL) { - (*psc->copySubBuffer->copySubBuffer)(pdraw->driDrawable, - x, y, width, height); + __GLXscreenConfigs * const psc = GetGLXScreenConfigs(dpy, screen); + if (psc->driScreen->copySubBuffer != NULL) { + (*psc->driScreen->copySubBuffer)(pdraw, x, y, width, height); } return; |