mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
Cleanup warnings of -Wunused-variable
remove unused variables.
This commit is contained in:
parent
62707986b7
commit
7c7a41ecd8
2 changed files with 2 additions and 4 deletions
|
@ -95,9 +95,9 @@ std::unique_ptr<GLContext> GLContext::Create(const WindowSystemInfo& wsi, bool s
|
|||
#if HAVE_X11
|
||||
if (wsi.type == WindowSystemType::X11)
|
||||
{
|
||||
#if defined(HAVE_EGL)
|
||||
// GLES 3 is not supported via GLX.
|
||||
const bool use_egl = prefer_egl || prefer_gles;
|
||||
#if defined(HAVE_EGL)
|
||||
if (use_egl)
|
||||
context = std::make_unique<GLContextEGLX11>();
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue