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
/
shader-leak.c
diff --git
a/src/gallium/tests/graw/shader-leak.c
b/src/gallium/tests/graw/shader-leak.c
index 8fa1a727f54327e536437fcea14e6d148f12c7d5..90d674745fda0dc56c3dd06a8fccaefd23eaa0ca 100644
(file)
--- a/
src/gallium/tests/graw/shader-leak.c
+++ b/
src/gallium/tests/graw/shader-leak.c
@@
-148,7
+148,7
@@
static void draw( void )
ctx->bind_fs_state(ctx, fs);
- 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_POINTS, 0, 1);
ctx->flush(ctx, NULL, 0);