projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b681a89
)
intel: Return failure properly in the texsubimage blit path.
author
Eric Anholt
<eric@anholt.net>
Thu, 11 Apr 2013 17:30:51 +0000
(10:30 -0700)
committer
Eric Anholt
<eric@anholt.net>
Fri, 12 Apr 2013 23:32:13 +0000
(16:32 -0700)
We assert that failure doesn't happen, but it fixes a warning in the
release build and it would at least give working behavior for a user by
falling back to the normal texsubimage path.
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/intel/intel_tex_subimage.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_tex_subimage.c
b/src/mesa/drivers/dri/intel/intel_tex_subimage.c
index b02e5fc549a209ff8a11544dde4edfdf781648c2..42cc739292727904dc2b9c98eb7415fba16a5e35 100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_tex_subimage.c
+++ b/
src/mesa/drivers/dri/intel/intel_tex_subimage.c
@@
-146,7
+146,7
@@
intel_blit_texsubimage(struct gl_context * ctx,
drm_intel_bo_unreference(temp_bo);
_mesa_unmap_teximage_pbo(ctx, packing);
- return
true
;
+ return
ret
;
}
/**