]> git.lizzy.rs Git - dragonfireclient.git/commit
Fix '[combine' when EVDF_TEXTURE_NPOT is disabled. (#12187)
authorparadust7 <102263465+paradust7@users.noreply.github.com>
Sat, 16 Apr 2022 16:50:59 +0000 (09:50 -0700)
committerGitHub <noreply@github.com>
Sat, 16 Apr 2022 16:50:59 +0000 (18:50 +0200)
commit7cea688a1c463c5e8caa28bbdb588a6b497a5d7d
tree30601cf0c655904dd98d316d6bbceff28d896e52
parent062dd8dabc50e01468a59bb9d1d8774e1983cb68
Fix '[combine' when EVDF_TEXTURE_NPOT is disabled. (#12187)

Stop scaling images to POT immediately when loaded. The 'combine'
modifier hardcodes X and Y coordinates, and so behaves incorrectly
if applied to a scaled image. Images emitted by generateImage()
are already scaled to POT before being used as a texture, so
nothing should break.
src/client/tile.cpp