projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
glx: Store the value of renderType while creating context
[mesa.git]
/
src
/
glx
/
dri_glx.c
diff --git
a/src/glx/dri_glx.c
b/src/glx/dri_glx.c
index ba8fda20ad2be8812bbf1688b175527fa5705ad5..cc45734b66c1763557fdc9055fd731f329c760e5 100644
(file)
--- a/
src/glx/dri_glx.c
+++ b/
src/glx/dri_glx.c
@@
-602,6
+602,8
@@
dri_create_context(struct glx_screen *base,
return NULL;
}
+ pcp->base.renderType = renderType;
+
if (!XF86DRICreateContextWithConfig(psc->base.dpy, psc->base.scr,
config->base.visualID,
&pcp->hwContextID, &hwContext)) {