From a26ca48f97e11863a9d0dd386ffc19aa4a0d7716 Mon Sep 17 00:00:00 2001 From: Jan Niklas Hasse Date: Sat, 7 Oct 2023 00:36:34 +0200 Subject: [PATCH] Do not deprecate drawLine completely --- src/jngl/shapes.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jngl/shapes.hpp b/src/jngl/shapes.hpp index 7f51e749a..7dc449fb8 100644 --- a/src/jngl/shapes.hpp +++ b/src/jngl/shapes.hpp @@ -45,8 +45,8 @@ void setLineWidth(float width); /// Draws a line from start to end, the width can be set using setLineWidth void drawLine(Vec2 start, Vec2 end); -[[deprecated("Use drawRectangle instead")]] -/// \deprecated Use drawRectangle instead +[[deprecated("Use drawLine(Vec2, Vec2) instead")]] +/// \deprecated Use drawLine(Vec2, Vec2) instead void drawLine(double xstart, double ystart, double xend, double yend); /// Draws a line from (0, 0) to \a end