sdl: add check for GL extension support

This commit is contained in:
BreadFish64 2018-05-30 17:35:57 -05:00
parent 0641950f9a
commit fbef849c04
2 changed files with 26 additions and 0 deletions

View file

@ -46,6 +46,9 @@ private:
/// Called when user passes the fullscreen parameter flag
void Fullscreen();
/// Whether the GPU and driver supports the OpenGL extension required
bool SupportsRequiredGLExtensions();
/// Called when a configuration change affects the minimal size of the window
void OnMinimalClientAreaChangeRequest(
const std::pair<unsigned, unsigned>& minimal_size) override;