Skip to content
Snippets Groups Projects
Commit 36d699a1 authored by Armin Krezović's avatar Armin Krezović Committed by Pekka Paalanen
Browse files

gl-renderer: Make dummy surface current after all outputs are gone


When all outputs are gone, there are no current read/write
surfaces associated with a context. This makes the previously
created dummy surface current until an output gets attached
to avoid any potential crashes.

v2:

- Remove unnecessary objects

Signed-off-by: default avatarArmin Krezović <krezovic.armin@gmail.com>
Reviewed-by: default avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
parent e5403849
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