fixed viewer flicker when rapidly changing parameters

This commit is contained in:
itsmattkc
2019-09-08 22:50:04 +10:00
parent d700f89f57
commit 6fcfd01c8f
8 changed files with 102 additions and 44 deletions
+2 -1
View File
@@ -21,7 +21,8 @@
#include "viewer.h"
ViewerOutput::ViewerOutput() :
attached_viewer_(nullptr)
attached_viewer_(nullptr),
current_time_(0)
{
texture_input_ = new NodeInput("tex_out");
texture_input_->add_data_input(NodeInput::kTexture);