Add checks for some invalid values to public API

There were no checks for invalid values or asserts for all invalid NULL
pointers to glfwSetWindowIcon or glfwCreateCursor.

Fixes #1862

(cherry picked from commit 66a4882eb1)
This commit is contained in:
Camilla Löwy
2022-03-15 21:22:49 +01:00
parent c2ccf6f919
commit 802882f7cb
4 changed files with 33 additions and 4 deletions

View File

@@ -83,6 +83,7 @@ video tutorials.
- Paul Holden
- Warren Hu
- Charles Huber
- Brent Huisman
- illustris
- InKryption
- IntellectualKitty