Skip to content
Commit 6485fd83 authored by Freya Gentz's avatar Freya Gentz Committed by Dylan Baker
Browse files

gallium/osmesa: Fix the inability to set no context as current.



Currently there is no way to make no context current w/gallium + osmesa.
The non-gallium version of osmesa does this if the context and buffer
passed to `OSMesaMakeCurrent` are both null. This small change makes it
so that this is also the case with the gallium version.

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: default avatarHal Gentz <zegentzy@protonmail.com>
Reviewed-by: default avatarEric Anholt <eric@anholt.net>
(cherry picked from commit 57c89433)
parent 2d30c0fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment