summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/dri/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/dri/common')
-rw-r--r--src/gallium/state_trackers/dri/common/dri_screen.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/dri/common/dri_screen.c b/src/gallium/state_trackers/dri/common/dri_screen.c
index 81523b82ba9..f5c936e1823 100644
--- a/src/gallium/state_trackers/dri/common/dri_screen.c
+++ b/src/gallium/state_trackers/dri/common/dri_screen.c
@@ -337,6 +337,13 @@ dri_get_egl_image(struct st_manager *smapi,
return TRUE;
}
+static int
+dri_get_param(struct st_manager *smapi,
+ enum st_manager_param param)
+{
+ return 0;
+}
+
static void
dri_destroy_option_cache(struct dri_screen * screen)
{
@@ -391,6 +398,7 @@ dri_init_screen_helper(struct dri_screen *screen,
}
screen->base.get_egl_image = dri_get_egl_image;
+ screen->base.get_param = dri_get_param;
screen->st_api = st_gl_api_create();
if (!screen->st_api)