mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
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:
parent
d9027b9e7f
commit
374f204e1e
1 changed files with 0 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue