From 5f66363f8ed26d6f3fc8fcccde804fe1fea1bbaa Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Fri, 21 May 2010 20:25:54 +0100 Subject: st_api: Add get param function to st_manager --- src/gallium/state_trackers/dri/common/dri_screen.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/gallium/state_trackers/dri') diff --git a/src/gallium/state_trackers/dri/common/dri_screen.c b/src/gallium/state_trackers/dri/common/dri_screen.c index 81523b82ba..f5c936e182 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) -- cgit v1.2.3