if(!(win = create_window(def_opt.width, def_opt.height))) {
// try again without the SRGB capability
SDL_GL_SetAttribute(SDL_GL_FRAMEBUFFER_SRGB_CAPABLE, 0);
if(!(win = create_window(def_opt.width, def_opt.height))) {
// try again without the SRGB capability
SDL_GL_SetAttribute(SDL_GL_FRAMEBUFFER_SRGB_CAPABLE, 0);