History

move hud rendering to render thread, still need to separate out hud overlays

SamGondelman committed 9 years ago

Commit b59ec071 parent 2e92d4039 files · +224 −305Browse files

Showing the changes to interface/src/scripting/ControllerScriptingInterface.cpp (1 of 39 files). Show all

Unified · Split

interface/src/scripting/ControllerScriptingInterface.cpp+2−2
@@ -91,8 +91,8 @@ glm::vec2 ControllerScriptingInterface::getViewportDimensions() const { · 90 unmodified lines
9191 return qApp->getUiSize();
9292 }
9393
94−QVariant ControllerScriptingInterface::getRecommendedOverlayRect() const {
95− auto rect = qApp->getRecommendedOverlayRect();
94+QVariant ControllerScriptingInterface::getRecommendedHUDRect() const {
95+ auto rect = qApp->getRecommendedHUDRect();
9696 return qRectToVariant(rect);
9797 }
9898