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/dri2_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/dri2_glx.c')
-rw-r--r-- | src/glx/dri2_glx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c index cc75b91d12a..9581bff02dc 100644 --- a/src/glx/dri2_glx.c +++ b/src/glx/dri2_glx.c @@ -273,8 +273,8 @@ dri2_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)) goto error_exit; if (shareList) { |