scopes: only update if visible

Updating scopes can require heavy processing so we limit updates to only
when the scope is visible
This commit is contained in:
itsmattkc
2020-04-28 23:55:40 +10:00
parent ad419754a9
commit 61dd75a2ed
4 changed files with 22 additions and 2 deletions
+2
View File
@@ -45,6 +45,8 @@ protected:
virtual void paintGL() override;
virtual void showEvent(QShowEvent* e) override;
private:
void UploadTextureFromBuffer();