projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gallium: add pipe cap for scissored clears and pass scissor state to clear() hook
[mesa.git]
/
src
/
gallium
/
tests
/
graw
/
clear.c
diff --git
a/src/gallium/tests/graw/clear.c
b/src/gallium/tests/graw/clear.c
index 2a08ae154854e35f15cfd2865c52a5c65f9b6f42..522799c1e1ab1967c95315529049b18530be443b 100644
(file)
--- a/
src/gallium/tests/graw/clear.c
+++ b/
src/gallium/tests/graw/clear.c
@@
-28,7
+28,7
@@
static void draw( void )
{
union pipe_color_union clear_color = { {1, 0, 1, 1} };
- ctx->clear(ctx, PIPE_CLEAR_COLOR, &clear_color, 0, 0);
+ ctx->clear(ctx, PIPE_CLEAR_COLOR,
NULL,
&clear_color, 0, 0);
ctx->flush(ctx, NULL, 0);
graw_save_surface_to_file(ctx, surf, NULL);