mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-22 10:19:01 +00: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:
parent
236f75aac3
commit
6583a3f1e2
2 changed files with 27 additions and 16 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue