godot/drivers/gles_common
lawnjelly 2d6cb3e208 Batching - Protection against zero and small sized ninepatches
Although the minimum size of ninepatches is set to the sum of the margins in normal use (through gdscript etc) it turns out that it is possible to programmatically create ninepatches that are small than this minimum - in particular zero size is used in sliders to not draw items.

This PR deals with zero sized ninepatches by not drawing anything, and has some basic protection for ninepatches smaller than the margins. Whether these occur in the wild is not clear but is put in for completeness.
2020-12-13 10:17:50 +00:00
..
batch_diagnose.inc Batching - more error checking options 2020-11-21 15:12:36 +00:00
rasterizer_array.h Batching - more error checking options 2020-11-21 15:12:36 +00:00
rasterizer_asserts.h 2d Legacy - close vulnerabilities and more debug checks 2020-11-22 16:09:02 +00:00
rasterizer_canvas_batcher.h Batching - Protection against zero and small sized ninepatches 2020-12-13 10:17:50 +00:00
rasterizer_storage_common.h Batching - more error checking options 2020-11-21 15:12:36 +00:00
SCsub Unified GLES2 / GLES3 Batching 2020-10-16 10:34:47 +01:00