diff options
author | Corbin Simpson <MostAwesomeDude@gmail.com> | 2009-01-09 05:11:19 -0800 |
---|---|---|
committer | Corbin Simpson <MostAwesomeDude@gmail.com> | 2009-02-01 23:30:20 -0800 |
commit | afe2de0a235f8e4312ecbb7275640502098a8a81 (patch) | |
tree | 1662acaa7f1667400bbd3fea6e6f16d18e4f882a /src/gallium/drivers/r300/r300_clear.c | |
parent | b1776eb14471e7a4d09d3c8a73f02b19b106883b (diff) | |
download | external_mesa3d-afe2de0a235f8e4312ecbb7275640502098a8a81.zip external_mesa3d-afe2de0a235f8e4312ecbb7275640502098a8a81.tar.gz external_mesa3d-afe2de0a235f8e4312ecbb7275640502098a8a81.tar.bz2 |
gallium-r300: Fit it all together now.
In theory, it could work, but there's still some very big gaps.
Anything marked with XXX should be taken care of first, probably.
Diffstat (limited to 'src/gallium/drivers/r300/r300_clear.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_clear.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_clear.c b/src/gallium/drivers/r300/r300_clear.c index f8f0e61..fd28437 100644 --- a/src/gallium/drivers/r300/r300_clear.c +++ b/src/gallium/drivers/r300/r300_clear.c @@ -20,10 +20,14 @@ * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE * USE OR OTHER DEALINGS IN THE SOFTWARE. */ +#include "r300_clear.h" + /* This gets its own file because Intel's is in its own file. * I assume there's a good reason. */ -void r300_clear(struct pipe_context* pipe, struct pipe_surface* ps, unsigned val) +void r300_clear(struct pipe_context* pipe, + struct pipe_surface* ps, + unsigned color) { - pipe->surface_fill(pipe, ps, 0, 0, ps->width, ps->height, clearValue); + pipe->surface_fill(pipe, ps, 0, 0, ps->width, ps->height, color); ps->status = PIPE_SURFACE_STATUS_DEFINED; }
\ No newline at end of file |