1
0
mirror of synced 2024-11-28 01:20:51 +01:00

sys: Prevent splash screen from creating a imgui.ini save file

Fixes #467
This commit is contained in:
WerWolv 2022-03-13 17:36:50 +01:00
parent 74ef9ece30
commit caad8c25ad

View File

@ -236,6 +236,7 @@ namespace hex::init {
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, w, h, 0, GL_RGBA8, GL_UNSIGNED_INT, px);
io.Fonts->SetTexID(reinterpret_cast<ImTextureID>(tex));
io.IniFilename = nullptr;
}
void WindowSplash::exitGLFW() {