kopper: call kopper_create_drawable directly

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30619>
This commit is contained in:
Mike Blumenkrantz
2024-08-01 08:58:16 -04:00
committed by Marge Bot
parent baae0940e3
commit d9027b9e7f

View File

@@ -618,8 +618,7 @@ kopperCreateNewDrawable(__DRIscreen *psp,
assert(data != NULL);
struct dri_screen *screen = dri_screen(psp);
struct dri_drawable *drawable =
screen->create_drawable(screen, &config->modes, info->is_pixmap, data);
struct dri_drawable *drawable = kopper_create_drawable(screen, &config->modes, info->is_pixmap, data);
return opaque_dri_drawable(drawable);
}