Skip to content
Snippets Groups Projects
Commit 1bb14ad9 authored by Dave Airlie's avatar Dave Airlie
Browse files

fix for solo to set the mode, and make solo gcc2 friendly...

From: Stephane Marchesin
parent 87030f66
No related branches found
No related tags found
Loading
......@@ -1103,6 +1103,7 @@ CallCreateNewScreen(Display *dpy, int scrn, __DRIscreen *psc)
drmVersionPtr version;
drm_handle_t hFB;
int junk;
drm_magic_t magic;
err_msg = "XF86DRIOpenConnection";
err_extra = NULL;
......@@ -1117,8 +1118,6 @@ CallCreateNewScreen(Display *dpy, int scrn, __DRIscreen *psc)
if (fd < 0) goto done;
drm_magic_t magic;
err_msg = "drmGetMagic";
err_extra = NULL;
......@@ -2053,6 +2052,7 @@ glXCreateContext( Display *dpy, XVisualInfo *vis,
else
sharePriv = NULL;
ctx->driContext.mode = vis->visual->mode;
ctx->driContext.private = dpy->driScreen.createNewContext(dpy, vis->visual->mode,
GLX_WINDOW_BIT, sharePriv, &ctx->driContext);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment