misc: Switch from gl3w to glad

Also add more checks on window and context creation.
This commit is contained in:
Mary 2023-06-17 11:26:18 +02:00
parent 6c29e3e0be
commit f3010f0909
12 changed files with 22075 additions and 10164 deletions

7
third_party/glad/CMakeLists.txt vendored Normal file
View file

@ -0,0 +1,7 @@
add_library(glad STATIC
src/gl.c
include/glad/gl.h
include/KHR/khrplatform.h
)
target_include_directories(glad PUBLIC "include")