From fbef849c04771fa2f35c11706ed15a410da519d6 Mon Sep 17 00:00:00 2001 From: BreadFish64 Date: Wed, 30 May 2018 17:35:57 -0500 Subject: sdl: add check for GL extension support --- src/yuzu_cmd/emu_window/emu_window_sdl2.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/yuzu_cmd/emu_window/emu_window_sdl2.h') 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& minimal_size) override; -- cgit v1.2.3