forgot the clear

main
Brett 2024-07-15 18:33:37 -04:00
parent 8b5b0b2c05
commit 8fd5222293
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.25) 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) set(BLT_GRAPHICS_TEST_VERSION 0.0.1)
project(BLT_WITH_GRAPHICS VERSION ${BLT_GRAPHICS_VERSION}) project(BLT_WITH_GRAPHICS VERSION ${BLT_GRAPHICS_VERSION})

View File

@ -226,9 +226,9 @@ namespace blt::gfx
const f32 denominator = 1.0f / (draw.z_max - draw.z_min); const f32 denominator = 1.0f / (draw.z_max - draw.z_min);
glClear(GL_STENCIL_BUFFER_BIT); glClear(GL_STENCIL_BUFFER_BIT);
draw_points(false, false, denominator); draw_points(false, true, denominator);
draw_rectangles(false, false, denominator); draw_rectangles(false, true, denominator);
draw_lines(false, false, denominator); draw_lines(false, true, denominator);
post_reset(); post_reset();
} }