mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 09:09:52 -06:00
This is basicall linux code cleanup. We don not need to pass the X display handle from the video plugin anymore. The wiimote plugins now open their own display handles, and the GUI uses the display handle of the main window frame. Only the window handle from the video plugin is needed. The pWindowHandle variable now passes this instead of the display handle.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5884 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -5,7 +5,6 @@
|
||||
#ifndef _VIDEO_H_INCLUDED__
|
||||
#define _VIDEO_H_INCLUDED__
|
||||
|
||||
#include "Common.h"
|
||||
#include "PluginSpecs.h"
|
||||
|
||||
#include "ExportProlog.h"
|
||||
@ -71,9 +70,6 @@ typedef struct
|
||||
typedef struct
|
||||
{
|
||||
void *pWindowHandle;
|
||||
#if defined(HAVE_X11) && HAVE_X11
|
||||
void *pXWindow;
|
||||
#endif
|
||||
|
||||
TSetInterrupt pSetInterrupt;
|
||||
TRegisterEvent pRegisterEvent;
|
||||
|
@ -8,11 +8,6 @@
|
||||
#include "PluginSpecs.h"
|
||||
#include "ExportProlog.h"
|
||||
|
||||
#if !defined _WIN32 && !defined __APPLE__
|
||||
#include "Config.h"
|
||||
#endif
|
||||
|
||||
|
||||
typedef void (*TLogv)(const char* _pMessage, int _v);
|
||||
|
||||
// This is called when the Wiimote sends input reports to the Core.
|
||||
@ -24,9 +19,6 @@ typedef bool (*TRendererHasFocus)(void);
|
||||
typedef struct
|
||||
{
|
||||
HWND hWnd;
|
||||
#if defined HAVE_X11 && HAVE_X11
|
||||
void *pXWindow;
|
||||
#endif
|
||||
u32 ISOId;
|
||||
TLogv pLog;
|
||||
TWiimoteInterruptChannel pWiimoteInterruptChannel;
|
||||
|
Reference in New Issue
Block a user