Mercurial > hg > orthanc-stone
diff Applications/Platforms/Sdl/SdlWindow.cpp @ 1804:5a872e69c74f
reorganization
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 20 May 2021 14:48:51 +0200 |
parents | 9ac2a65d4172 |
children | 3889ae96d2e9 |
line wrap: on
line diff
--- a/Applications/Platforms/Sdl/SdlWindow.cpp Thu May 20 14:15:00 2021 +0200 +++ b/Applications/Platforms/Sdl/SdlWindow.cpp Thu May 20 14:48:51 2021 +0200 @@ -37,7 +37,7 @@ namespace OrthancStone { - SdlWindow::SdlWindow(const char* title, + SdlWindow::SdlWindow(const std::string& title, unsigned int width, unsigned int height, bool enableOpenGl, @@ -87,7 +87,7 @@ #endif // WIN32 - window_ = SDL_CreateWindow(title, + window_ = SDL_CreateWindow(title.c_str(), SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, width, height, windowFlags);