gl: Handle offloads in offscreen context better
Back out of offloading if it turns out that we are in an offscreen context.
Fixes: #6551 (closed)
Edited by Matthias Clasen
Back out of offloading if it turns out that we are in an offscreen context.
Fixes: #6551 (closed)