diff options
author | Brian Paul <brianp@vmware.com> | 2009-10-05 14:26:16 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-10-05 14:26:16 -0600 |
commit | 79892e7976fbb91ae426f5868d5f453e977c1f17 (patch) | |
tree | 0e33ed7a02b2adc983cd900d4389a98e7fbc3bce /src | |
parent | 3b7ec94c0db4140f72682f70262baf77be683816 (diff) |
intel: use driReadDrawable in do_copy_texsubimage()
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_tex_copy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_tex_copy.c b/src/mesa/drivers/dri/intel/intel_tex_copy.c index 74f7f58bbe..b241c11625 100644 --- a/src/mesa/drivers/dri/intel/intel_tex_copy.c +++ b/src/mesa/drivers/dri/intel/intel_tex_copy.c @@ -135,7 +135,7 @@ do_copy_texsubimage(struct intel_context *intel, if (ctx->ReadBuffer->Name == 0) { /* reading from a window, adjust x, y */ - __DRIdrawablePrivate *dPriv = intel->driDrawable; + const __DRIdrawablePrivate *dPriv = intel->driReadDrawable; y = dPriv->y + (dPriv->h - (y + height)); x += dPriv->x; |