kopper: delete some redundant code

this is already done in the base dri_create_drawable

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 09:11:22 -04:00 committed by Marge Bot
parent d9027b9e7f
commit 374f204e1e

View file

@ -515,9 +515,6 @@ kopper_create_drawable(struct dri_screen *screen, const struct gl_config *visual
if (!drawable)
return NULL;
// relocate references to the old struct
drawable->base.visual = &drawable->stvis;
// and fill in the vtable
drawable->allocate_textures = kopper_allocate_textures;
drawable->update_drawable_info = kopper_update_drawable_info;