summaryrefslogtreecommitdiffstats
path: root/src/loader/loader_dri3_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/loader/loader_dri3_helper.h')
-rw-r--r--src/loader/loader_dri3_helper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/loader/loader_dri3_helper.h b/src/loader/loader_dri3_helper.h
index 658e190a3d7..1d1f15ebb9a 100644
--- a/src/loader/loader_dri3_helper.h
+++ b/src/loader/loader_dri3_helper.h
@@ -159,7 +159,7 @@ struct loader_dri3_drawable {
bool first_init;
struct loader_dri3_extensions *ext;
- struct loader_dri3_vtable *vtable;
+ const struct loader_dri3_vtable *vtable;
};
void
@@ -176,7 +176,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*);
bool loader_dri3_wait_for_msc(struct loader_dri3_drawable *draw,