matdbg: call GLSLTools init / shutdown.
This commit is contained in:
committed by
Mathias Agopian
parent
15db005dc6
commit
fd444b2fd0
@@ -36,6 +36,8 @@
|
||||
|
||||
#include <backend/DriverEnums.h>
|
||||
|
||||
#include "sca/GLSLTools.h"
|
||||
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user