mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-10 14:41:50 +00:00
sw_engine renderer: initialize member data in default.
static analizyer bothers us due to this. we'd rather initialize members for free of them. Change-Id: I23b769b94be7514a8bf6e6d683ddb90b3cd613c4
This commit is contained in:
parent
199b54c5ca
commit
7b004363f9
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ public:
|
|||
void doRender(); //Internally used for threading
|
||||
|
||||
private:
|
||||
Surface surface;
|
||||
Surface surface = {nullptr, 0, 0, 0};
|
||||
future<void> progress;
|
||||
queue<SwTask*> prepareTasks;
|
||||
queue<SwTask*> renderTasks;
|
||||
|
|
Loading…
Add table
Reference in a new issue