summaryrefslogtreecommitdiffstats
path: root/src/glx/dri_common.h
diff options
context:
space:
mode:
authorTomasz Lis <[email protected]>2013-07-17 13:49:15 +0200
committerIan Romanick <[email protected]>2013-07-18 16:03:42 -0700
commita92cd5b2454c984d56f2f7d03fe64baf6d39be4c (patch)
treee2d1439b6c594cd92227b139ba847f0d384219fc /src/glx/dri_common.h
parent36259a16fe9b1ab60c7cb4fbf41077fb480a2bec (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/dri_common.h')
-rw-r--r--src/glx/dri_common.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glx/dri_common.h b/src/glx/dri_common.h
index 93cd744b1f2..2bbffa9ffbe 100644
--- a/src/glx/dri_common.h
+++ b/src/glx/dri_common.h
@@ -71,8 +71,8 @@ extern void *driOpenDriver(const char *driverName);
extern bool
dri2_convert_glx_attribs(unsigned num_attribs, const uint32_t *attribs,
- unsigned *major_ver, unsigned *minor_ver,
- uint32_t *flags, unsigned *api, int *reset,
- unsigned *error);
+ unsigned *major_ver, unsigned *minor_ver,
+ uint32_t *render_type, uint32_t *flags, unsigned *api,
+ int *reset, unsigned *error);
#endif /* _DRI_COMMON_H */