summaryrefslogtreecommitdiffstats
path: root/src/loader/loader_dri3_helper.c
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2016-08-25 11:08:30 +0100
committerEmil Velikov <[email protected]>2016-10-14 12:53:35 +0100
commit9caacb39b9f27919a7c986ad0c5d671a81b1f1e0 (patch)
treee4450a7f3fcd470353351d67512d74094f036a18 /src/loader/loader_dri3_helper.c
parentfdd373acca4a17093d7973c210174c1a12dd7da1 (diff)
loader/dri3: constify the loader_dri3_vtable
Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/loader/loader_dri3_helper.c')
-rw-r--r--src/loader/loader_dri3_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/loader/loader_dri3_helper.c b/src/loader/loader_dri3_helper.c
index 817929740f2..ca02e97c9e9 100644
--- a/src/loader/loader_dri3_helper.c
+++ b/src/loader/loader_dri3_helper.c
@@ -130,7 +130,7 @@ loader_dri3_drawable_init(xcb_connection_t *conn,
bool is_different_gpu,
const __DRIconfig *dri_config,
struct loader_dri3_extensions *ext,
- struct loader_dri3_vtable *vtable,
+ const struct loader_dri3_vtable *vtable,
struct loader_dri3_drawable *draw)
{
xcb_get_geometry_cookie_t cookie;