From fd444b2fd036ca3f22b30cac2b5e27c0ee59cc56 Mon Sep 17 00:00:00 2001 From: Philip Rideout Date: Tue, 20 Jul 2021 14:47:18 -0700 Subject: [PATCH] matdbg: call GLSLTools init / shutdown. --- libs/matdbg/src/DebugServer.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/matdbg/src/DebugServer.cpp b/libs/matdbg/src/DebugServer.cpp index 3b9af16a3a..8da80637d0 100644 --- a/libs/matdbg/src/DebugServer.cpp +++ b/libs/matdbg/src/DebugServer.cpp @@ -36,6 +36,8 @@ #include +#include "sca/GLSLTools.h" + #include #include @@ -514,9 +516,11 @@ DebugServer::DebugServer(Backend backend, int port) : mBackend(backend) { mServer->addWebSocketHandler("", mWebSocketHandler); slog.i << "DebugServer listening at http://localhost:" << port << io::endl; + filamat::GLSLTools::init(); } DebugServer::~DebugServer() { + filamat::GLSLTools::shutdown(); for (auto& pair : mMaterialRecords) { delete [] pair.second.package; }