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
/
tri-gs.c
diff --git
a/src/gallium/tests/graw/tri-gs.c
b/src/gallium/tests/graw/tri-gs.c
index ed721f378b1f9d03e79e71cb3c139f4d5d44ca89..6820bc530eaff0f49b2e66ab0998ecec57798013 100644
(file)
--- a/
src/gallium/tests/graw/tri-gs.c
+++ b/
src/gallium/tests/graw/tri-gs.c
@@
-162,7
+162,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);
util_draw_arrays(ctx, PIPE_PRIM_TRIANGLES, 0, 3);
ctx->flush(ctx, NULL, 0);