summaryrefslogtreecommitdiff
path: root/glx/glxdriswrast.c
diff options
context:
space:
mode:
Diffstat (limited to 'glx/glxdriswrast.c')
-rw-r--r--glx/glxdriswrast.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/glx/glxdriswrast.c b/glx/glxdriswrast.c
index b47839868..5266d5c9b 100644
--- a/glx/glxdriswrast.c
+++ b/glx/glxdriswrast.c
@@ -384,9 +384,8 @@ swrastGetImage(__DRIdrawable * draw,
{
__GLXDRIdrawable *drawable = loaderPrivate;
DrawablePtr pDraw = drawable->base.pDraw;
- ScreenPtr pScreen = pDraw->pScreen;
- pScreen->GetImage(pDraw, x, y, w, h, ZPixmap, ~0L, data);
+ pDraw->ops->GetImage(pDraw, x, y, w, h, ZPixmap, ~0L, data);
}
static const __DRIswrastLoaderExtension swrastLoaderExtension = {