summaryrefslogtreecommitdiff
path: root/Source/Core/Common/GL/GLInterface/WGL.cpp
diff options
context:
space:
mode:
authorConnor McLaughlin <stenzek@gmail.com>2019-11-08 11:05:53 +1000
committerGitHub <noreply@github.com>2019-11-08 11:05:53 +1000
commita89fdb628c349ae112d6b9749b9ba7fba1e46b04 (patch)
treec5a9dd2a524bf5f31d046d6668933172984160fa /Source/Core/Common/GL/GLInterface/WGL.cpp
parent2ebea1bfa7e6436d0379ab25951b31e28e296763 (diff)
parent0a75e71672ed63d6d92ba42c1a183e72090d7c83 (diff)
Merge pull request #8343 from stenzek/fbdev
DolphinNoGUI: Add a FBDev platform
Diffstat (limited to 'Source/Core/Common/GL/GLInterface/WGL.cpp')
-rw-r--r--Source/Core/Common/GL/GLInterface/WGL.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/Common/GL/GLInterface/WGL.cpp b/Source/Core/Common/GL/GLInterface/WGL.cpp
index e168f94e51..034d05a415 100644
--- a/Source/Core/Common/GL/GLInterface/WGL.cpp
+++ b/Source/Core/Common/GL/GLInterface/WGL.cpp
@@ -223,13 +223,13 @@ void* GLContextWGL::GetFuncAddress(const std::string& name)
// Create rendering window.
// Call browser: Core.cpp:EmuThread() > main.cpp:Video_Initialize()
-bool GLContextWGL::Initialize(void* display_handle, void* window_handle, bool stereo, bool core)
+bool GLContextWGL::Initialize(const WindowSystemInfo& wsi, bool stereo, bool core)
{
- if (!window_handle)
+ if (!wsi.render_surface)
return false;
RECT window_rect = {};
- m_window_handle = reinterpret_cast<HWND>(window_handle);
+ m_window_handle = reinterpret_cast<HWND>(wsi.render_surface);
if (!GetClientRect(m_window_handle, &window_rect))
return false;