diff options
| author | BreadFish64 <mohror64@gmail.com> | 2018-05-30 17:35:57 -0500 |
|---|---|---|
| committer | BreadFish64 <mohror64@gmail.com> | 2018-06-04 12:26:41 -0500 |
| commit | fbef849c04771fa2f35c11706ed15a410da519d6 (patch) | |
| tree | 167072f44b5a1422cea4c77ea08b3937614506c4 /src/yuzu_cmd/emu_window/emu_window_sdl2.h | |
| parent | 0641950f9a4e7f4f6a4a828ec3a7840a57c29b77 (diff) | |
sdl: add check for GL extension support
Diffstat (limited to 'src/yuzu_cmd/emu_window/emu_window_sdl2.h')
| -rw-r--r-- | src/yuzu_cmd/emu_window/emu_window_sdl2.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/yuzu_cmd/emu_window/emu_window_sdl2.h b/src/yuzu_cmd/emu_window/emu_window_sdl2.h index 7d5cfffb6..1d835c3c6 100644 --- a/src/yuzu_cmd/emu_window/emu_window_sdl2.h +++ b/src/yuzu_cmd/emu_window/emu_window_sdl2.h @@ -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; |
