mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 21:05:56 -05:00
impr: Add support for specifying filtering mode when loading textures
This commit is contained in:
@@ -443,8 +443,8 @@ namespace hex::init {
|
||||
void WindowSplash::initMyself() {
|
||||
|
||||
// Load splash screen image from romfs
|
||||
this->splashBackgroundTexture = ImGuiExt::Texture(romfs::get("splash_background.png").span());
|
||||
this->splashTextTexture = ImGuiExt::Texture(romfs::get("splash_text.png").span());
|
||||
this->splashBackgroundTexture = ImGuiExt::Texture(romfs::get("splash_background.png").span(), ImGuiExt::Texture::Filter::Linear);
|
||||
this->splashTextTexture = ImGuiExt::Texture(romfs::get("splash_text.png").span(), ImGuiExt::Texture::Filter::Linear);
|
||||
|
||||
// If the image couldn't be loaded correctly, something went wrong during the build process
|
||||
// Close the application since this would lead to errors later on anyway.
|
||||
|
||||
Reference in New Issue
Block a user