mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 07:58:07 +02:00
lima: use u_pipe_screen_lookup_or_create in the renderonly path too
close #8739 Signed-off-by: Zhang Ning <zhangn1985@outlook.com> Reviewed-by: Erico Nunes <nunes.erico@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23538>
This commit is contained in:
parent
a57dc77482
commit
a4c5d0ebea
1 changed files with 2 additions and 1 deletions
|
|
@ -40,5 +40,6 @@ struct pipe_screen *
|
|||
lima_drm_screen_create_renderonly(int fd, struct renderonly *ro,
|
||||
const struct pipe_screen_config *config)
|
||||
{
|
||||
return lima_screen_create(os_dupfd_cloexec(fd), config, ro);
|
||||
return u_pipe_screen_lookup_or_create(os_dupfd_cloexec(fd), config,
|
||||
ro, lima_screen_create);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue