mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Should fix GL on other cards than nVidia...
This commit is contained in:
parent
8c1ef3051d
commit
644f247026
1
gfx/gl.c
1
gfx/gl.c
@ -446,7 +446,6 @@ static void* gl_init(video_info_t *video, const input_driver_t **input, void **i
|
||||
|
||||
SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);
|
||||
SDL_GL_SetAttribute(SDL_GL_SWAP_CONTROL, video->vsync ? 1 : 0);
|
||||
SDL_GL_SetAttribute(SDL_GL_ACCELERATED_VISUAL, 1);
|
||||
|
||||
if (!SDL_SetVideoMode(video->width, video->height, 0, SDL_OPENGL | SDL_RESIZABLE | (video->fullscreen ? SDL_FULLSCREEN : 0)))
|
||||
return NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user