unsegfault

This commit is contained in:
2025-05-05 16:30:35 -05:00
parent 03213c2c15
commit 62b7618ff4
5 changed files with 8 additions and 9 deletions

View File

@@ -23,12 +23,12 @@ namespace Archimedes {
data.window = p;
data.sendEvent = sendEvent;
/*
if (!SDL_Init(SDL_INIT_VIDEO | SDL_INIT_GAMEPAD)) {
std::cerr << "Error: SDL_Init(): " << SDL_GetError() << std::endl;
std::cerr << "Error: SDL_Init(): " << SDL_GetError() << std::flush;
std::abort();
}
*/
#if RENDERER == 1
SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);
SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, 24);