virtualx-engine/drivers
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
..
alsa Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
alsamidi Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
coreaudio Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
coremidi Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
dummy Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
gl_context SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
gles2 Batching - fix a couple of minor valgrind bugs. 2021-02-16 18:29:34 +00:00
gles3 Accomodate blend shape ranges of -1 to +1 2021-02-07 21:42:02 +00:00
gles_common Batching - fix a couple of minor valgrind bugs. 2021-02-16 18:29:34 +00:00
png Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
pulseaudio Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
unix Fix nanosleep usage 2021-01-13 16:17:09 +01:00
wasapi Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
windows Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
winmidi Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
xaudio2 Update copyright statements to 2021 2021-01-13 16:17:06 +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