From 7ca8d8dfc7e9bf3b09f9cab929c98f9e607c298b Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Wed, 6 Aug 2014 00:44:21 -0400 Subject: Core: Don't pass through a reference to the window handle Now that MainNoGUI is properly architected and GLX doesn't need to sometimes craft its own windows sometimes which we have to thread back into MainNoGUI, we don't need to thread the window handle that GLX creates at all. This removes the reference to pass back here, and the g_pWindowHandle always be the same as the window returned by Host_GetRenderHandle(). A future cleanup could remove g_pWindowHandle entirely. --- Source/Core/VideoBackends/OGL/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/VideoBackends/OGL/main.cpp') diff --git a/Source/Core/VideoBackends/OGL/main.cpp b/Source/Core/VideoBackends/OGL/main.cpp index c40704d049..1a378eb74f 100644 --- a/Source/Core/VideoBackends/OGL/main.cpp +++ b/Source/Core/VideoBackends/OGL/main.cpp @@ -155,7 +155,7 @@ void VideoBackend::ShowConfig(void *_hParent) Host_ShowVideoConfig(_hParent, GetDisplayName(), "gfx_opengl"); } -bool VideoBackend::Initialize(void *&window_handle) +bool VideoBackend::Initialize(void *window_handle) { InitializeShared(); InitBackendInfo(); -- cgit v1.2.3