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:

committed by
Marge Bot

parent
baae0940e3
commit
d9027b9e7f
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user