aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu_cmd/emu_window/emu_window_sdl2.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-06-04 16:13:55 -0400
committerGitHub <noreply@github.com>2018-06-04 16:13:55 -0400
commit0a0233f39f7dbad013d14714a49cc9184da9cee9 (patch)
treef22a89f89c64d05bff56d1a87ddf1cdb43c332fa /src/yuzu_cmd/emu_window/emu_window_sdl2.h
parent9936d1b9e28feeaa1a4c46bd3aa487fbeacbcdfd (diff)
parentfbef849c04771fa2f35c11706ed15a410da519d6 (diff)
Merge pull request #490 from BreadFish64/extension-check
Add checks for OpenGL 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.h3
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;