summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_surface.h
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2010-05-29 00:02:05 +0200
committerRoland Scheidegger <[email protected]>2010-05-29 00:02:05 +0200
commita1d5131d2eaa5f5ccc8b38f9379f9c6bc989bc1a (patch)
tree2b64ab56a6c9cad911029b0835f90dee6aac2733 /src/gallium/auxiliary/util/u_surface.h
parent0cd70b554cb0bb9280f83fddf4f1451fddd37230 (diff)
util: adapt to clear interface changes
Diffstat (limited to 'src/gallium/auxiliary/util/u_surface.h')
-rw-r--r--src/gallium/auxiliary/util/u_surface.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/auxiliary/util/u_surface.h b/src/gallium/auxiliary/util/u_surface.h
index ccde738ca40..b640c793085 100644
--- a/src/gallium/auxiliary/util/u_surface.h
+++ b/src/gallium/auxiliary/util/u_surface.h
@@ -57,11 +57,11 @@ util_resource_copy_region(struct pipe_context *pipe,
unsigned w, unsigned h);
extern void
-util_resource_fill_region(struct pipe_context *pipe,
- struct pipe_resource *dst,
- struct pipe_subresource subdst,
- unsigned dstx, unsigned dsty, unsigned dstz,
- unsigned width, unsigned height, unsigned value);
+util_clearRT(struct pipe_context *pipe,
+ struct pipe_surface *dst,
+ const float *rgba,
+ unsigned dstx, unsigned dsty,
+ unsigned width, unsigned height);