Unverified Commit 57c89433 authored by
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: email@example.com Signed-off-by: Hal Gentz <firstname.lastname@example.org> Reviewed-by: Eric Anholt <email@example.com>
Showing with 5 additions and 0 deletions