mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-02-22 07:37:56 +01:00
Don't X error in SDL_CreateWindow with unsupported GL attributes
This commit is contained in:
parent
adc64f922f
commit
b89cac6761
@ -463,7 +463,9 @@ X11_GL_InitExtensions(_THIS)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (w) {
|
||||||
X11_XDestroyWindow(display, w);
|
X11_XDestroyWindow(display, w);
|
||||||
|
}
|
||||||
X11_PumpEvents(_this);
|
X11_PumpEvents(_this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user