diff options
Diffstat (limited to 'samples/tests/compositing.cpp')
| -rw-r--r-- | samples/tests/compositing.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/tests/compositing.cpp b/samples/tests/compositing.cpp index 6ef062e..d122912 100644 --- a/samples/tests/compositing.cpp +++ b/samples/tests/compositing.cpp @@ -1,7 +1,7 @@ #include "VkvgTest.hpp" - TEST(compositing) { VkvgContext ctx = vkvg_create(test->surf); + vkvg_clear(ctx); vkvg_set_source_rgba(ctx, 1, 0, 0, 0.5f); vkvg_rectangle(ctx, 100, 100, 200, 200); @@ -13,9 +13,9 @@ TEST(compositing) { vkvg_destroy(ctx); } - TEST(opacity) { VkvgContext ctx = vkvg_create(test->surf); + vkvg_clear(ctx); vkvg_set_source_rgba(ctx, 1, 0, 0, 1.0f); vkvg_rectangle(ctx, 100, 100, 200, 200); |