Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/SDLRenderingWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

const char* SDLRenderingWindow::name() const
{
return "SDL2 Rendering Window";
return "SDL2 Rendering Window"; // Why..? This isn't used anywhere
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because this method must be implemented, please read the docs:
https://docs.pocoproject.org/current/Poco.Util.Subsystem.html#36011

Please remove this comment, then I can merge the PR.

}

void SDLRenderingWindow::initialize(Poco::Util::Application& app)
Expand Down Expand Up @@ -249,6 +249,8 @@ void SDLRenderingWindow::CreateSDLWindow()
SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_CORE);
#endif

SDL_SetHint(SDL_HINT_APP_NAME, "projectM");

_renderingWindow = SDL_CreateWindow("projectM", left, top, width, height,
SDL_WINDOW_OPENGL | SDL_WINDOW_RESIZABLE | SDL_WINDOW_ALLOW_HIGHDPI);
if (!_renderingWindow)
Expand Down