Skip to content

Commit

Permalink
Update main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
nefarius committed Oct 7, 2023
1 parent bb99eb8 commit dad9d63
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,10 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine,
window.setFramerateLimit(60);
ImGui::SFML::Init(window, false);

ImGuiIO& io = ImGui::GetIO();
io.IniFilename = NULL;
io.LogFilename = NULL;

// Set window icon
if (auto hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_ICON_MAIN)))
{
Expand Down

0 comments on commit dad9d63

Please sign in to comment.