virtualx-engine/drivers/gles2
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
..
shaders lightmap capture broken on webgl1.0 2021-01-31 20:52:02 -06:00
rasterizer_canvas_base_gles2.cpp Batching - fix a couple of minor valgrind bugs. 2021-02-16 18:29:34 +00:00
rasterizer_canvas_base_gles2.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rasterizer_canvas_gles2.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rasterizer_canvas_gles2.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rasterizer_gles2.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rasterizer_gles2.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rasterizer_scene_gles2.cpp Check limits on texture or framebuffer creation 2021-02-13 13:36:15 -08:00
rasterizer_scene_gles2.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rasterizer_storage_gles2.cpp Check limits on texture or framebuffer creation 2021-02-13 13:36:15 -08:00
rasterizer_storage_gles2.h Check limits on texture or framebuffer creation 2021-02-13 13:36:15 -08:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
shader_compiler_gles2.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
shader_compiler_gles2.h CPU lightmapper fixes. 2021-01-15 12:32:54 +01:00
shader_gles2.cpp [GLES2] Fix binding 3D Transforms to mat4 uniforms 2021-02-03 17:36:21 -06:00
shader_gles2.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00