Skip to content
Snippets Groups Projects
Commit 3b3cd512 authored by Simon Ser's avatar Simon Ser
Browse files

etnaviv: fix renderonly check in etna_resource_alloc


When the driver hasn't been initialized via renderonly, screen->ro
will be NULL. This fixes a crash when passing USE_SCANOUT to etnaviv
when it's missing renderonly.

Signed-off-by: Simon Ser's avatarSimon Ser <contact@emersion.fr>
Reviewed-by: default avatarChristian Gmeiner <christian.gmeiner@gmail.com>
Cc: mesa-stable
Part-of: <mesa/mesa!12074>
parent 71a5bcb8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment