aboutsummaryrefslogtreecommitdiff
path: root/src/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphics')
-rw-r--r--src/graphics/Rectangle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphics/Rectangle.cpp b/src/graphics/Rectangle.cpp
index 61a45f4..17060c7 100644
--- a/src/graphics/Rectangle.cpp
+++ b/src/graphics/Rectangle.cpp
@@ -6,7 +6,7 @@ extern "C" {
namespace mgl {
Rectangle::Rectangle(vec2f position, vec2f size) {
- rectangle.color = { 1.0f, 1.0f, 1.0f, 1.0f };
+ rectangle.color = { 255, 255, 255, 255 };
rectangle.position = { position.x, position.y };
rectangle.size = { size.x, size.y };
}