mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
Plugin_VideoOGL: X11: Add another display connection to keep the two threads from
eating each others events. Manifests itself in GPU thread waiting forever for a reply in GL library code(and thus a frozen emulation). Most of the time, this can be resolved by creating more events (clicking, changing focus), but sometimes it stays stuck. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6218 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -78,7 +78,10 @@ typedef struct {
|
||||
int screen;
|
||||
Window win;
|
||||
Window parent;
|
||||
Display *dpy;
|
||||
// dpy (mainly) used for glx stuff, evdpy for window events etc.
|
||||
// used to keep the two threads from eating each others events
|
||||
// evdpy is to be used by XEventThread only (when it is running)
|
||||
Display *dpy, *evdpy;
|
||||
XVisualInfo *vi;
|
||||
GLXContext ctx;
|
||||
XSetWindowAttributes attr;
|
||||
|
Reference in New Issue
Block a user