From 6dafd61ab278f23ecfebac7ef647610875abd2db Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Sat, 2 Jan 2010 22:06:42 +0800 Subject: winsys/drm: Add name field to drm_api. The name can be used for driver selection. It has the same name as the DRI driver does right now. Signed-off-by: Chia-I Wu --- src/gallium/winsys/drm/radeon/core/radeon_drm.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/winsys/drm/radeon/core') diff --git a/src/gallium/winsys/drm/radeon/core/radeon_drm.c b/src/gallium/winsys/drm/radeon/core/radeon_drm.c index 05194fc52a..851c223697 100644 --- a/src/gallium/winsys/drm/radeon/core/radeon_drm.c +++ b/src/gallium/winsys/drm/radeon/core/radeon_drm.c @@ -252,6 +252,7 @@ static boolean radeon_local_handle_from_texture(struct drm_api *api, } struct drm_api drm_api_hooks = { + .name = "radeon", .create_screen = radeon_create_screen, .create_context = radeon_create_context, .texture_from_shared_handle = radeon_texture_from_shared_handle, -- cgit v1.2.3