projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2872c1c
)
radeon: fallback to software in glCopyTexImage if blit isn't available
author
Maciej Cencora
<m.cencora@gmail.com>
Sat, 6 Feb 2010 18:37:23 +0000
(19:37 +0100)
committer
Alex Deucher
<alexdeucher@gmail.com>
Mon, 8 Mar 2010 16:48:52 +0000
(11:48 -0500)
src/mesa/drivers/dri/radeon/radeon_tex_copy.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/radeon/radeon_tex_copy.c
b/src/mesa/drivers/dri/radeon/radeon_tex_copy.c
index 89fe9915a700c20bb8493844cf58cd12a6fc6fce..a4bb03d5d39ad277c9189e0efbaf5c9f52261fde 100644
(file)
--- a/
src/mesa/drivers/dri/radeon/radeon_tex_copy.c
+++ b/
src/mesa/drivers/dri/radeon/radeon_tex_copy.c
@@
-53,6
+53,10
@@
do_copy_texsubimage(GLcontext *ctx,
unsigned src_width;
unsigned dst_width;
+ if (!radeon->vtbl.blit) {
+ return GL_FALSE;
+ }
+
if (_mesa_get_format_bits(timg->base.TexFormat, GL_DEPTH_BITS) > 0) {
rrb = radeon_get_depthbuffer(radeon);
} else {