godot/drivers/gles_common
lawnjelly 565cfc888e Batching - fix a couple of minor valgrind bugs.
Valgrind reported two instances of reading uninitialized memory in the batching. They are both pretty benign (as evidenced by no bug reports) but wise to close these.

The first is that when changing batch from a default batch it reads the batch color which is not set (as it is not relevant for default batches). The segment of code is not necessary when it has already deemed a batch change necessary (which will occur from a default batch). In addition this means that the count of color changes will be more accurate, rather than having a possible random value in.

The second is that on initialization _set_texture_rect_mode is called before the state has been properly initialized (it is initialized at the beginning of each canvas_begin, but this occurs outside of that).
2021-02-16 18:29:34 +00:00
..
batch_diagnose.inc Batching - more error checking options 2020-11-21 15:12:36 +00:00
rasterizer_array.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rasterizer_asserts.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rasterizer_canvas_batcher.h Batching - fix a couple of minor valgrind bugs. 2021-02-16 18:29:34 +00:00
rasterizer_storage_common.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