forgot the clear
parent
8b5b0b2c05
commit
8fd5222293
|
@ -1,6 +1,6 @@
|
|||
cmake_minimum_required(VERSION 3.25)
|
||||
|
||||
set(BLT_GRAPHICS_VERSION 0.13.24)
|
||||
set(BLT_GRAPHICS_VERSION 0.13.25)
|
||||
set(BLT_GRAPHICS_TEST_VERSION 0.0.1)
|
||||
|
||||
project(BLT_WITH_GRAPHICS VERSION ${BLT_GRAPHICS_VERSION})
|
||||
|
|
|
@ -226,9 +226,9 @@ namespace blt::gfx
|
|||
const f32 denominator = 1.0f / (draw.z_max - draw.z_min);
|
||||
|
||||
glClear(GL_STENCIL_BUFFER_BIT);
|
||||
draw_points(false, false, denominator);
|
||||
draw_rectangles(false, false, denominator);
|
||||
draw_lines(false, false, denominator);
|
||||
draw_points(false, true, denominator);
|
||||
draw_rectangles(false, true, denominator);
|
||||
draw_lines(false, true, denominator);
|
||||
post_reset();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue