summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_surface.c
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2009-03-30 16:51:01 -0700
committerCorbin Simpson <[email protected]>2009-03-30 16:51:01 -0700
commit70d39c70536079eb51298086c559e4b40e6ffc03 (patch)
tree19a805c92abcc0deffaec706a9310fdf3c88c88d /src/gallium/drivers/r300/r300_surface.c
parent4bfe784dcadf5bcb65dbd8b9c3d4db757d1824b8 (diff)
r300-gallium: Allow surface_fill to clear depth/stencil buffers too.
Diffstat (limited to 'src/gallium/drivers/r300/r300_surface.c')
-rw-r--r--src/gallium/drivers/r300/r300_surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_surface.c b/src/gallium/drivers/r300/r300_surface.c
index 6ecc708e000..7e6036868a9 100644
--- a/src/gallium/drivers/r300/r300_surface.c
+++ b/src/gallium/drivers/r300/r300_surface.c
@@ -97,7 +97,7 @@ static void r300_surface_fill(struct pipe_context* pipe,
dest, x, y, w, h, pixpitch, color);
/* Fallback? */
- if (tex->tex.format != PIPE_FORMAT_A8R8G8B8_UNORM) {
+ if (FALSE) {
debug_printf("r300: Falling back on surface clear...");
util_surface_fill(pipe, dest, x, y, w, h, color);
return;