diff options
author | Jakob Bornecrantz <jakob@vmware.com> | 2010-05-21 20:25:54 +0100 |
---|---|---|
committer | Jakob Bornecrantz <jakob@vmware.com> | 2010-05-21 21:25:07 +0100 |
commit | 5f66363f8ed26d6f3fc8fcccde804fe1fea1bbaa (patch) | |
tree | 916e3de9803377bd28ae6ac8bd4b51100ec4e656 /src/gallium/state_trackers/dri | |
parent | 0853401805fc95c71e237fe9b04ff023cd268361 (diff) |
st_api: Add get param function to st_manager
Diffstat (limited to 'src/gallium/state_trackers/dri')
-rw-r--r-- | src/gallium/state_trackers/dri/common/dri_screen.c | 8 |
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 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) |