summaryrefslogtreecommitdiff
path: root/src/common/file_util.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-09-27 16:10:45 -0400
committerFernandoS27 <fsahmkow27@gmail.com>2019-10-17 10:38:44 -0400
commit57a46c69f1ae65902c3937bbfedc6ffa9f8ecf47 (patch)
treef18e40e15f11c164ee136ac0574700c2257d6ada /src/common/file_util.cpp
parent60c602e4e77abdefedf0fb1c70606723d17988c9 (diff)
Fermi2D: limit blit area to only available area
Normaly OpenGL does not care if the areas exceed the texture regions but other backends such as Vulkan do care about the limits of this areas. This PR crops the areas of the blit in order that they don't surpass the limits of the textures. This should help Vulkan and faulty OpenGL drivers
Diffstat (limited to 'src/common/file_util.cpp')
0 files changed, 0 insertions, 0 deletions