godot/drivers
lawnjelly 1d8d7b0d4b
Batching - fix number of verts in translation
The translation to larger vertex formats was assuming that batches were rects, and not accounting that the num_commands had a different meaning for lines and polys, so the calculation for number of vertices to translate was incorrect in these cases.

Also prevents infinite loop if a single polygon has too many vertices to fit in the batch buffer.

(cherry picked from commit d08cf5f434)
2021-04-26 11:54:01 +02:00
..
alsa Omit some functions in alsa wrapper 2021-02-22 21:39:22 +01:00
alsamidi Modernize Thread 2021-02-18 11:58:08 +01:00
coreaudio Replace malloc's with Godot's memalloc macro 2021-03-13 22:01:27 +01:00
coremidi Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
dummy ARVR GDNative enhancements: 2021-03-25 22:37:47 +11:00
gl_context SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
gles2 Add setting for shadow cubemap max size 2021-04-20 23:17:45 -07:00
gles3 Batching - GLES3 fix light pass modulates 2021-04-26 11:54:01 +02:00
gles_common Batching - fix number of verts in translation 2021-04-26 11:54:01 +02:00
png Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
pulseaudio An update to the dylibloader for older inttypes 2021-02-20 01:25:19 +01:00
unix Allow nullptr with zero length in FileAccess get_buffer 2021-03-17 15:17:02 +01:00
wasapi Modernize Thread 2021-02-18 11:58:08 +01:00
windows Allow nullptr with zero length in FileAccess get_buffer 2021-03-17 15:17:02 +01:00
winmidi Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
xaudio2 Modernize Thread 2021-02-18 11:58:08 +01:00
register_driver_types.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
register_driver_types.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
SCsub Unified GLES2 / GLES3 Batching 2020-10-16 10:34:47 +01:00