diff options
author | Tomasz Lis <[email protected]> | 2013-07-17 13:49:15 +0200 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2013-07-18 16:03:42 -0700 |
commit | a92cd5b2454c984d56f2f7d03fe64baf6d39be4c (patch) | |
tree | e2d1439b6c594cd92227b139ba847f0d384219fc /src/glx/drisw_glx.c | |
parent | 36259a16fe9b1ab60c7cb4fbf41077fb480a2bec (diff) |
glx: Retrieve the value of RENDER_TYPE from GLX attribs array
Make sure that context creation routines are provided with the value of
RENDER_TYPE retrieved from GLX attribs.
v2 (idr): Minor formatting changes. Change type of
dri2_convert_glx_attribs render_type parameter to uint32_t to silence
some GCC warnings.
Signed-off-by: Tomasz Lis <[email protected]>
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glx/drisw_glx.c')
-rw-r--r-- | src/glx/drisw_glx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glx/drisw_glx.c b/src/glx/drisw_glx.c index 80ddf9cf753..2c3e8b5f3ba 100644 --- a/src/glx/drisw_glx.c +++ b/src/glx/drisw_glx.c @@ -447,8 +447,8 @@ drisw_create_context_attribs(struct glx_screen *base, /* Remap the GLX tokens to DRI2 tokens. */ if (!dri2_convert_glx_attribs(num_attribs, attribs, - &major_ver, &minor_ver, &flags, &api, &reset, - error)) + &major_ver, &minor_ver, &renderType, &flags, + &api, &reset, error)) return NULL; if (reset != __DRI_CTX_RESET_NO_NOTIFICATION) |