mirror of https://github.com/WerWolv/ImHex.git
sys: Prevent splash screen from creating a imgui.ini save file
Fixes #467
This commit is contained in:
parent
74ef9ece30
commit
caad8c25ad
|
@ -236,6 +236,7 @@ namespace hex::init {
|
||||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
|
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);
|
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, w, h, 0, GL_RGBA8, GL_UNSIGNED_INT, px);
|
||||||
io.Fonts->SetTexID(reinterpret_cast<ImTextureID>(tex));
|
io.Fonts->SetTexID(reinterpret_cast<ImTextureID>(tex));
|
||||||
|
io.IniFilename = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
void WindowSplash::exitGLFW() {
|
void WindowSplash::exitGLFW() {
|
||||||
|
|
Loading…
Reference in New Issue