Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed spacing
  • Loading branch information
DallinTG committed Jan 17, 2026
commit 58f560f8fc1cf2b23b2d38ec25121e77fab28d99
2 changes: 1 addition & 1 deletion karl2d.odin
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ draw_rect_ex :: proc(r: Rect, origin: Vec2, rot: f32, c: Color) {
if s.vertex_buffer_cpu_used + s.batch_shader.vertex_size * 6 > len(s.vertex_buffer_cpu) {
draw_current_batch()
}

if s.batch_texture != s.shape_drawing_texture {
draw_current_batch()
}
Expand Down