pandemonium_engine/drivers/gles_common
lawnjelly a39a25694d 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.
2022-09-16 23:30:31 +02:00
..
batch_diagnose.inc
rasterizer_array.h
rasterizer_asserts.h
rasterizer_canvas_batcher.h
rasterizer_storage_common.h
SCsub Added godot with all my currently used engine modules. 2022-03-15 13:29:32 +01:00