This commit is contained in:
wheremyfoodat 2023-09-30 01:33:27 +03:00
parent 42cbcc1380
commit 5d9ded47da
35 changed files with 37343 additions and 21800 deletions

View file

@ -58,7 +58,7 @@ Emulator::Emulator()
Helpers::panic("OpenGL context creation failed: %s", SDL_GetError());
}
if (!gladLoadGL(reinterpret_cast<GLADloadfunc>(SDL_GL_GetProcAddress))) {
if (!gladLoadGLLoader(reinterpret_cast<GLADloadproc>(SDL_GL_GetProcAddress))) {
Helpers::panic("OpenGL init failed: %s", SDL_GetError());
}
}