virtualx-engine/drivers
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
..
alsa Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
alsamidi Drivers, main, servers: Ensure classes match their header filename 2019-02-12 14:39:47 +01:00
convex_decomp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
coreaudio Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
coremidi Drivers, main, servers: Ensure classes match their header filename 2019-02-12 14:39:47 +01:00
dummy Implement ability to render viewports directly to screen 2019-05-13 15:20:15 -07:00
gl_context SCons: Always use env.Prepend for CPPPATH 2019-04-30 13:12:06 +02:00
gles2 Fixes crash with rigged meshes on some OpenGLES2 devices 2019-06-18 09:42:07 +01:00
gles3 Merge pull request #29628 from qarmin/fix_invalid_write_mesh 2019-06-13 10:01:20 +02:00
png SCons: Always use env.Prepend for CPPPATH 2019-04-30 13:12:06 +02:00
pulseaudio Add -Wshadow=local to warnings and fix reported issues. 2019-02-20 19:44:12 +01:00
unix added a const keyword for a methods that return constant literal... 2019-05-21 02:16:30 -04:00
wasapi Fix WASAPI driver not working when the device doesn't supports the mix format 2019-02-23 00:01:17 -03:00
windows Fix errors when attempting to set UNIX permissions when unavailable 2019-06-03 14:35:33 +02:00
winmidi Drivers, main, servers: Ensure classes match their header filename 2019-02-12 14:39:47 +01:00
xaudio2 SCons: Review uses of CCFLAGS, CXXFLAGS and CPPFLAGS 2019-04-24 16:57:58 +02:00
register_driver_types.cpp Consistency in resource format saver/loader de-registration 2019-01-10 12:45:57 +01:00
register_driver_types.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
SCsub Drop RtAudio driver on Windows 2019-02-20 13:47:01 +01:00