Bindings: Improved FreeGLUT support for MinGW (#3004)

This commit is contained in:
Konstantin Podsvirov
2020-01-27 14:11:29 +03:00
committed by omar
parent f6da5000bf
commit b887259974
3 changed files with 14 additions and 3 deletions

View File

@@ -39,7 +39,12 @@ static int g_Time = 0; // Current time, in milliseconds
bool ImGui_ImplGLUT_Init()
{
ImGuiIO& io = ImGui::GetIO();
#ifdef FREEGLUT
io.BackendPlatformName ="imgui_impl_glut (freeglut)";
#else
io.BackendPlatformName ="imgui_impl_glut";
#endif
g_Time = 0;