test: shutdown the false alram of the valgrind

- Conditional jump or move depends on uninitialised value(s)
This commit is contained in:
Hermet Park 2024-10-03 18:48:27 +09:00 committed by Hermet Park
parent 19656db676
commit 8ebaf06ffd

View file

@ -37,7 +37,7 @@ TEST_CASE("Basic draw", "[tvgSwEngine]")
auto canvas = SwCanvas::gen();
REQUIRE(canvas);
uint32_t buffer[100*100];
uint32_t buffer[100*100] = {0, };
REQUIRE(canvas->target(buffer, 100, 100, 100, SwCanvas::Colorspace::ABGR8888S) == Result::Success);
//Arc Line