Fix getting the X11 display with the Qt ui

This commit is contained in:
BtbN
2014-04-03 23:41:22 +02:00
parent 23c3dfc6be
commit a31e938c2b
3 changed files with 12 additions and 7 deletions

View File

@@ -59,12 +59,7 @@ extern struct gl_windowinfo *gl_windowinfo_create(struct gs_init_data *info)
{
struct gl_windowinfo *wi = bzalloc(sizeof(struct gl_windowinfo));
wi->id = info->window.id;
/* wi->display = info->window.display; */
/*
The above no longer works with Qt.
Let's hope it continues to work.
*/
wi->display = info->window.display;
return wi;
}