(GLUI) Reset texture names
This commit is contained in:
parent
1235450c69
commit
d1c192ece7
|
@ -532,6 +532,9 @@ static void glui_context_bg_destroy(glui_handle_t *glui)
|
||||||
glDeleteTextures(1, &glui->textures.bg.id);
|
glDeleteTextures(1, &glui->textures.bg.id);
|
||||||
if (glui->textures.white)
|
if (glui->textures.white)
|
||||||
glDeleteTextures(1, &glui->textures.white);
|
glDeleteTextures(1, &glui->textures.white);
|
||||||
|
|
||||||
|
glui->textures.bg.id = 0;
|
||||||
|
glui->textures.white = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue