+ if (multisampling) {
+ print_info("Failed to open SDL window: %s (retrying without multisampling)\n", SDL_GetError());
+ SDL_GL_SetAttribute(SDL_GL_MULTISAMPLEBUFFERS, 0);
+ SDL_GL_SetAttribute(SDL_GL_MULTISAMPLESAMPLES, 0);
+ multisampling = 0;
+ goto retry_without_multisampling;
+ }
+ print_error("Failed to open SDL window: %s\n", SDL_GetError());
+ SDL_GL_SetAttribute(SDL_GL_MULTISAMPLEBUFFERS, 1);
+ SDL_GL_SetAttribute(SDL_GL_MULTISAMPLESAMPLES, multisampling);