projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b7ec94
)
intel: use driReadDrawable in do_copy_texsubimage()
author
Brian Paul
<brianp@vmware.com>
Mon, 5 Oct 2009 20:26:16 +0000
(14:26 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 5 Oct 2009 20:26:16 +0000
(14:26 -0600)
src/mesa/drivers/dri/intel/intel_tex_copy.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_tex_copy.c
b/src/mesa/drivers/dri/intel/intel_tex_copy.c
index 74f7f58bbe4c595dfe3f1a89a01c986b99a55cc3..b241c116251cba1a3dc08cfe097e83f9247a64e9 100644
(file)
--- 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->dri
Drawable;
+
const __DRIdrawablePrivate *dPriv = intel->driRead
Drawable;
y = dPriv->y + (dPriv->h - (y + height));
x += dPriv->x;