godot/drivers/gles2
lawnjelly e36e9fdb1c Fixes crash with rigged meshes on some OpenGLES2 devices
Non-tools OpenGLES2 devices that use the USE_SKELETON_SOFTWARE path (i.e. do not support float texture) depend on surface->data being set containing the bone IDs and weights (rasterizer_scene_gles2.cpp, line 1456, RasterizerSceneGLES2::_setup_geometry). However currently if TOOLS_ENABLED is not defined, surface->data is not stored in main memory in rasterizer_storage_gles2.cpp. This causes a crash in rasterizer_scene_gles2.cpp when a rigged object comes into view.

This fix addresses the specific case of skinned objects when USE_SKELETON_SOFTWARE is active, and stores a copy of the bone data, as is done when TOOLS_ENABLED is defined. This fixes the crash by allowing the same mechanism as on desktop, without adding the memory overhead of storing all vertex data where not required.

Fixes #28298
2019-06-18 09:42:07 +01:00
..
shaders added MultiMeshInstance2D node for using MultiMesh in 2D 2019-06-03 12:11:54 -07:00
rasterizer_canvas_gles2.cpp added MultiMeshInstance2D node for using MultiMesh in 2D 2019-06-03 12:11:54 -07:00
rasterizer_canvas_gles2.h
rasterizer_gles2.cpp
rasterizer_gles2.h
rasterizer_scene_gles2.cpp Merge pull request #29306 from qarmin/small_code_fixes 2019-06-12 12:49:21 +02:00
rasterizer_scene_gles2.h separate culling state management from material 2019-05-27 11:45:53 -07:00
rasterizer_storage_gles2.cpp Fixes crash with rigged meshes on some OpenGLES2 devices 2019-06-18 09:42:07 +01:00
rasterizer_storage_gles2.h
SCsub
shader_compiler_gles2.cpp Added constant support to shaders 2019-06-01 13:41:07 +03:00
shader_compiler_gles2.h
shader_gles2.cpp
shader_gles2.h Add missing license headers 2019-06-11 15:33:32 +02:00