projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87030f6
)
fix for solo to set the mode, and make solo gcc2 friendly...
author
Dave Airlie
<airliedfreedesktop.org>
Sat, 5 Mar 2005 04:00:09 +0000
(
04:00
+0000)
committer
Dave Airlie
<airliedfreedesktop.org>
Sat, 5 Mar 2005 04:00:09 +0000
(
04:00
+0000)
From: Stephane Marchesin
src/glx/mini/miniglx.c
patch
|
blob
|
history
diff --git
a/src/glx/mini/miniglx.c
b/src/glx/mini/miniglx.c
index bb76ef87865344dcdba918c56caf158d01927eb7..928b70cddf41000fa0776adeceb641ce868320bd 100644
(file)
--- a/
src/glx/mini/miniglx.c
+++ b/
src/glx/mini/miniglx.c
@@
-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);