diff options
author | Hal Gentz <[email protected]> | 2019-09-15 15:29:50 -0600 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2019-09-23 11:11:59 -0700 |
commit | 6485fd83623099034727f14ba9253941fcfc6725 (patch) | |
tree | a52424353c441221f143c872997c283ac482130e /src/compiler/glsl/gl_nir.h | |
parent | 2d30c0fc5905c88f0208c2757e6e07976a8660c9 (diff) |
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 protected]
Signed-off-by: Hal Gentz <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
(cherry picked from commit 57c894334ee14c7075bc8c1fb8ff180631ccb527)
Diffstat (limited to 'src/compiler/glsl/gl_nir.h')
0 files changed, 0 insertions, 0 deletions