mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-04 20:18:47 +02:00
Examples: Clang/Linux warning fixes.
This commit is contained in:
@ -189,7 +189,7 @@ bool ImGui_ImplGlfw_Init(GLFWwindow* window, bool install_callbacks)
|
||||
|
||||
void ImGui_ImplGlfw_Shutdown()
|
||||
{
|
||||
if (GLuint tex_id = (GLuint)ImGui::GetIO().Fonts->TexID)
|
||||
if (GLuint tex_id = (GLuint)(intptr_t)ImGui::GetIO().Fonts->TexID)
|
||||
{
|
||||
glDeleteTextures(1, &tex_id);
|
||||
ImGui::GetIO().Fonts->TexID = 0;
|
||||
|
Reference in New Issue
Block a user