Fix assert error when launching
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user