From d7c02bab33ae1878bc371ce1abc4638d94776348 Mon Sep 17 00:00:00 2001 From: Tobi Date: Sun, 1 Aug 2021 12:58:56 +0200 Subject: [PATCH] Update renderd7.cpp --- renderd7.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/renderd7.cpp b/renderd7.cpp index 43202f7..8cdfd32 100644 --- a/renderd7.cpp +++ b/renderd7.cpp @@ -358,6 +358,11 @@ bool RenderD7::DrawRect(float x, float y, float w, float h, u32 color) return C2D_DrawRectSolid(x, y, 0.5f, w, h, color); } +bool RenderD7::DrawPx(float x, float y, u32 color) +{ + return C2D_DrawRectSolid(x, y, 0.5f, 1, 1, color); +} + void RenderD7::DrawTextCentered(float x, float y, float size, u32 color, std::string Text, int maxWidth, int maxHeight, C2D_Font fnt) { float lineHeight, widthScale;