Fix assert error when launching

Eric Semeniuc 2018-03-31 11:45:24 -07:00
parent add17a5bfa
commit e78b13ff58

@ -202,7 +202,7 @@ void setup(GLFWwindow* window)
display_width, display_width,
display_height; display_height;
GLuint g_FontTexture; GLuint g_FontTexture;
ImGui::CreateContext();
ImGuiIO& io { ImGui::GetIO() }; ImGuiIO& io { ImGui::GetIO() };
io.Fonts->GetTexDataAsAlpha8(&pixels, &width, &height); io.Fonts->GetTexDataAsAlpha8(&pixels, &width, &height);