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

View file

@ -1,11 +1,7 @@
#include "emulator.hpp"
#include "gl3w.h"
int main (int argc, char *argv[]) {
Emulator emu;
if (gl3wInit()) {
Helpers::panic("Failed to initialize OpenGL");
}
emu.initGraphicsContext();