mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
frontend/dri: Initialize callbacks in dri_swrast_kms_init_screen
This was missed in the commit below. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8232 Fixes:7d5b1cd02c("frontend/dri: move callbacks from the VTable into dri_screen, dri_drawable") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21333> (cherry picked from commit3e9c131482)
This commit is contained in:
parent
b972c025fe
commit
e0bbed4db1
2 changed files with 5 additions and 1 deletions
|
|
@ -166,7 +166,7 @@
|
|||
"description": "frontend/dri: Initialize callbacks in dri_swrast_kms_init_screen",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "7d5b1cd02c4d29d0636db66d668607a6692daa75"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -2379,6 +2379,10 @@ dri_swrast_kms_init_screen(struct dri_screen *screen)
|
|||
screen->lookup_egl_image_validated = dri2_lookup_egl_image_validated;
|
||||
}
|
||||
|
||||
screen->create_drawable = dri2_create_drawable;
|
||||
screen->allocate_buffer = dri2_allocate_buffer;
|
||||
screen->release_buffer = dri2_release_buffer;
|
||||
|
||||
return configs;
|
||||
|
||||
destroy_screen:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue