Skip to content

Commit 6c7daba

Browse files
committed
port-msc: some bug fix
1 parent 7040bd8 commit 6c7daba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tdme/application/Application.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ int Application::run(int argc, char** argv, const string& title, GUIEventHandler
617617
return EXITCODE_FAILURE;
618618
}
619619
//
620-
rendererBackend = (RendererBackend*)rendererBackendCreateInstance();
620+
rendererBackend = unique_ptr<RendererBackend>((RendererBackend*)rendererBackendCreateInstance());
621621
if (rendererBackend == nullptr) {
622622
Console::printLine("Application::run(): Could not create renderer backend");
623623
glfwTerminate();

0 commit comments

Comments
 (0)