mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
test: shutdown the false alram of the valgrind
- Conditional jump or move depends on uninitialised value(s)
This commit is contained in:
parent
19656db676
commit
8ebaf06ffd
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ TEST_CASE("Basic draw", "[tvgSwEngine]")
|
||||||
auto canvas = SwCanvas::gen();
|
auto canvas = SwCanvas::gen();
|
||||||
REQUIRE(canvas);
|
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);
|
REQUIRE(canvas->target(buffer, 100, 100, 100, SwCanvas::Colorspace::ABGR8888S) == Result::Success);
|
||||||
|
|
||||||
//Arc Line
|
//Arc Line
|
||||||
|
|
Loading…
Add table
Reference in a new issue