diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2025-08-19 10:07:59 +0200 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2026-09-04 11:06:23 +0200 |
| commit | 9a394c11e7a3e6a2c27b361d40831c61d5da8a1e (patch) | |
| tree | 40dc975a06315b0f0d2bca83d68a82a7c737f734 /samples/tests/compositing.cpp | |
| parent | 711cd23163ef2b593f5c6df64c30f33ae356fe77 (diff) | |
more samples
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); |