diff options
author | Josh Taylor <taylor.joshua.w@gmail.com> | 2018-07-07 17:10:32 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-07 17:10:32 -0500 |
commit | 892a4b175a54c1172ba7c8dc1b60f4ad25b968a2 (patch) | |
tree | 60df957db88a6e59fbc1a957345b70d3232e575b /scene/gui/button.cpp | |
parent | ea473594086ebc4d0f5ec8d3cb5fac1607909571 (diff) |
Changed minimum visible viewport size
When the viewport's size.y becomes lower than 2, the storage->frame.current_rt->effects.mip_maps[0].sizes Vector during rendering becomes empty, resulting in crashes in at least GLES3. This is a temporary fix to stop rendering a viewport when its size is below 2 rather than below 1.
Diffstat (limited to 'scene/gui/button.cpp')
0 files changed, 0 insertions, 0 deletions