mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
GLContext: Use host connection
This also removes the need for a sleeping event thread.
This commit is contained in:
@ -23,12 +23,12 @@ public:
|
||||
int GetWidth() const { return m_width; }
|
||||
int GetHeight() const { return m_height; }
|
||||
|
||||
void UpdateDimensions();
|
||||
|
||||
static std::unique_ptr<GLX11Window> Create(Display* display, Window parent_window,
|
||||
XVisualInfo* vi);
|
||||
|
||||
private:
|
||||
void XEventThread();
|
||||
|
||||
Display* m_display;
|
||||
Window m_parent_window;
|
||||
Colormap m_color_map;
|
||||
@ -36,6 +36,4 @@ private:
|
||||
|
||||
int m_width;
|
||||
int m_height;
|
||||
|
||||
std::thread m_event_thread;
|
||||
};
|
||||
|
Reference in New Issue
Block a user