summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stdlib/color.h11
-rw-r--r--stdlib/color.lua1
-rw-r--r--test/main.lua2
3 files changed, 4 insertions, 10 deletions
diff --git a/stdlib/color.h b/stdlib/color.h
index 1f47770..970c46a 100644
--- a/stdlib/color.h
+++ b/stdlib/color.h
@@ -124,14 +124,9 @@ unsigned char color[] = {
0x20, 0x7b, 0x20, 0x72, 0x20, 0x3d, 0x20, 0x32, 0x35, 0x35, 0x2c, 0x20,
0x67, 0x20, 0x3d, 0x20, 0x30, 0x2c, 0x20, 0x20, 0x20, 0x62, 0x20, 0x3d,
0x20, 0x32, 0x35, 0x35, 0x2c, 0x20, 0x61, 0x20, 0x3d, 0x20, 0x32, 0x35,
- 0x35, 0x20, 0x7d, 0x0a, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x2e, 0x52, 0x41,
- 0x59, 0x57, 0x48, 0x49, 0x54, 0x45, 0x20, 0x20, 0x20, 0x3d, 0x20, 0x7b,
- 0x20, 0x72, 0x20, 0x3d, 0x20, 0x32, 0x34, 0x35, 0x2c, 0x20, 0x67, 0x20,
- 0x3d, 0x20, 0x32, 0x34, 0x35, 0x2c, 0x20, 0x62, 0x20, 0x3d, 0x20, 0x32,
- 0x34, 0x35, 0x2c, 0x20, 0x61, 0x20, 0x3d, 0x20, 0x32, 0x35, 0x35, 0x20,
- 0x7d, 0x0a, 0x0a, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x20, 0x63, 0x6f,
- 0x6c, 0x6f, 0x72, 0x0a
+ 0x35, 0x20, 0x7d, 0x0a, 0x0a, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x20,
+ 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x0a
};
-unsigned int color_len = 1540;
+unsigned int color_len = 1482;
#endif // color_H
diff --git a/stdlib/color.lua b/stdlib/color.lua
index 29584cb..c02810c 100644
--- a/stdlib/color.lua
+++ b/stdlib/color.lua
@@ -25,6 +25,5 @@ color.WHITE = { r = 255, g = 255, b = 255, a = 255 }
color.BLACK = { r = 0, g = 0, b = 0, a = 255 }
color.BLANK = { r = 0, g = 0, b = 0, a = 0 }
color.MAGENTA = { r = 255, g = 0, b = 255, a = 255 }
-color.RAYWHITE = { r = 245, g = 245, b = 245, a = 255 }
return color
diff --git a/test/main.lua b/test/main.lua
index 0fc9be3..bd0858e 100644
--- a/test/main.lua
+++ b/test/main.lua
@@ -17,7 +17,7 @@ function test_graphics()
while window_running() do
begin_drawing()
- clear_window(color.RAYWHITE)
+ clear_window(color.BLACK)
draw_fps()
end_drawing()
end