voxelcore/src/graphics
alexei-zebra 01ed8b7dc5
Fix 2D batch drawing with a stale texture binding
Batch2D cached the bound texture and skipped the bind when the cache
matched, but the render pipeline binds textures of its own and leaves a
non-zero texture unit active. A rectangle drawn without a texture (the
hud hotbar background and slot tiles) was then modulated by whatever
texture was left bound, which made the hotbar darken for a single frame
on every window resize.

The batch now draws from texture unit 0 and compares the cached texture
with the actual binding instead of trusting the cache.
2026-10-10 12:23:42 +03:00
..
commons fix region again 2026-08-17 19:50:38 +03:00
core Fix 2D batch drawing with a stale texture binding 2026-10-10 12:23:42 +03:00
render fix chunks render limits 2026-10-05 21:21:33 +03:00
ui Fix the issues found while reviewing the Wayland frame work 2026-10-10 12:23:42 +03:00