From d9027b9e7ffe7fa727dd15a4a29a3b7abb1864c0 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 1 Aug 2024 08:58:16 -0400 Subject: [PATCH] kopper: call kopper_create_drawable directly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Marek Olšák Part-of: --- src/gallium/frontends/dri/kopper.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gallium/frontends/dri/kopper.c b/src/gallium/frontends/dri/kopper.c index d4fa3ba66f2..dd8b4661851 100644 --- a/src/gallium/frontends/dri/kopper.c +++ b/src/gallium/frontends/dri/kopper.c @@ -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); }