diff --git a/include/blt/gfx/renderer/batch_2d_renderer.h b/include/blt/gfx/renderer/batch_2d_renderer.h index 2e72f29..b47057c 100644 --- a/include/blt/gfx/renderer/batch_2d_renderer.h +++ b/include/blt/gfx/renderer/batch_2d_renderer.h @@ -78,7 +78,7 @@ namespace blt::gfx inline void drawRectangle(std::string_view texture, const rectangle2d_t& rectangle) { - const static blt::vec4 empty{0, 0, 0, 0}; + const static blt::vec4 empty{0, 0, 0, 1}; const static blt::vec4 full{1, 1, 1, 1}; complex_rectangles[texture][empty][full].push_back(rectangle); }