summaryrefslogtreecommitdiff
path: root/scene/3d/position_3d.cpp
diff options
context:
space:
mode:
authorJosh Taylor <taylor.joshua.w@gmail.com>2018-07-07 17:10:32 -0500
committerGitHub <noreply@github.com>2018-07-07 17:10:32 -0500
commit892a4b175a54c1172ba7c8dc1b60f4ad25b968a2 (patch)
tree60df957db88a6e59fbc1a957345b70d3232e575b /scene/3d/position_3d.cpp
parentea473594086ebc4d0f5ec8d3cb5fac1607909571 (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/3d/position_3d.cpp')
0 files changed, 0 insertions, 0 deletions