godot/drivers
lawnjelly 5800615be7 Batching - fix uninitialized color read
Valgrind was showing a read from uninitialized memory. r_fill_state.curr_batch->color is unset (for performance reasons), so can contain random data.

This actually doesn't matter in practice, since logically this uninitialized state can only occur when change_batch is set, and the only side effect is that change_batch is set. Hence why no bugs occur in practice.

This PR prevents this read from uninitialized data. It is likely free in terms of performance after optimization, and keeps the Valgrind logs clearer, so why not.

(cherry picked from commit 23fedc0d1a)
2022-09-09 14:28:58 +02:00
..
alsa Make audio thread control flags safe 2022-08-30 11:16:44 +02:00
alsamidi Make audio thread control flags safe 2022-08-30 11:16:44 +02:00
coreaudio Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
coremidi Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
dummy Fix skeleton 2D stale bounding rect 2022-08-08 13:35:18 +02:00
gl_context SCons: Add explicit dependencies on thirdparty code in cloned env 2021-04-29 16:57:00 +02:00
gles2 Fix skeleton 2D stale bounding rect 2022-08-08 13:35:18 +02:00
gles3 workaround for angle project issue 7245, safari, iOS 2022-08-30 11:20:16 +02:00
gles_common Batching - fix uninitialized color read 2022-09-09 14:28:58 +02:00
png Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
pulseaudio Make audio thread control flags safe 2022-08-30 11:16:44 +02:00
unix Fix Time.get_unix_time_from_system() not including msecs 2022-08-08 16:32:16 +02:00
wasapi Make audio thread control flags safe 2022-08-30 11:16:44 +02:00
windows Fix Windows list dir handle leak 2022-08-30 11:21:31 +02:00
winmidi Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
xaudio2 Make audio thread control flags safe 2022-08-30 11:16:44 +02:00
SCsub Unified GLES2 / GLES3 Batching 2020-10-16 10:34:47 +01:00
register_driver_types.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
register_driver_types.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00