mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 17:19:44 -06:00
Kill off the wx casts within InputCommon and GLInterface.
All because someone didn't actually return the wxWindow handle for the edge case.
This commit is contained in:
@ -87,12 +87,10 @@ public:
|
||||
|
||||
void* GetRenderHandle()
|
||||
{
|
||||
#ifdef _WIN32
|
||||
return (void *)m_RenderParent->GetHandle();
|
||||
#elif defined(HAVE_X11) && HAVE_X11
|
||||
return (void *)X11Utils::XWindowFromHandle(m_RenderParent->GetHandle());
|
||||
#if defined(HAVE_X11) && HAVE_X11
|
||||
return reinterpret_cast<void*>(X11Utils::XWindowFromHandle(m_RenderParent->GetHandle()));
|
||||
#else
|
||||
return m_RenderParent;
|
||||
return reinterpret_cast<void*>(m_RenderParent->GetHandle());
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user