aboutsummaryrefslogtreecommitdiff
path: root/raylib.ads
diff options
context:
space:
mode:
authorxolatile2024-03-18 14:40:43 -0400
committerxolatile2024-03-18 14:40:43 -0400
commit607f7d0e32e34a2f01feba578b6751d1754704a9 (patch)
tree5ed8012cc22a93fa42b292ac14ccc20e5a2abb1f /raylib.ads
parent5889897ec57847e993e52cb28c6f6ae364565292 (diff)
downloadxolatile-raylib-ada-607f7d0e32e34a2f01feba578b6751d1754704a9.tar.xz
xolatile-raylib-ada-607f7d0e32e34a2f01feba578b6751d1754704a9.tar.zst
Finished limiting Color to 4 bytes like Gott intended...
Diffstat (limited to 'raylib.ads')
-rw-r--r--raylib.ads3
1 files changed, 3 insertions, 0 deletions
diff --git a/raylib.ads b/raylib.ads
index 6bb4a4d..e1a2e20 100644
--- a/raylib.ads
+++ b/raylib.ads
@@ -601,6 +601,9 @@ package Raylib is
type Color_Range is range 0 .. 2**8 - 1;
type Index_Range is range 0 .. 2**16 - 1;
+ for Color_Range'Size use 8;
+ for Index_Range'Size use 16;
+
type Pointer is access all System.Address;
type Vector_2D is record