mirror of
https://github.com/libretro/RetroArch
synced 2025-03-30 16:20:27 +00:00
(3DS) font renderer: prevent calling DrawArray() with count==0.
This commit is contained in:
parent
e4992bc6d0
commit
4729c2be76
@ -228,6 +228,9 @@ static void ctr_font_render_line(
|
||||
delta_y += glyph->advance_y;
|
||||
}
|
||||
|
||||
if (v == ctr->vertex_cache.current)
|
||||
return;
|
||||
|
||||
ctrGuSetVertexShaderFloatUniform(0, (float*)&font->scale_vector, 1);
|
||||
GSPGPU_FlushDataCache(ctr->vertex_cache.current, (v - ctr->vertex_cache.current) * sizeof(ctr_vertex_t));
|
||||
ctrGuSetAttributeBuffers(2,
|
||||
|
Loading…
x
Reference in New Issue
Block a user