-
Notifications
You must be signed in to change notification settings - Fork 8
Add checks #32
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
raylib has some checking functions inbuilt, like isFontReady, IsImage, IsTexture, etc. Using these and maybe some extra we could validate a lot of function's inputs "properly".
Though the raylib validity functions are honestly not great, they just check if pointers are null and size is over 0 and such... but size of images can very well be 0, why would that be invalid? probably need to reimplement some of the checks.