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; }