sdl: add check for GL extension support
This commit is contained in:
parent
0641950f9a
commit
fbef849c04
2 changed files with 26 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue