diff options
author | Eric Anholt <[email protected]> | 2020-01-14 16:35:21 -0800 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-02-04 17:48:08 +0000 |
commit | 0a53918f025af606450ddb9df3d032191a82ce89 (patch) | |
tree | 782376d9faf591b4b146fdd721ac9c02ac33eb31 /src/gallium/targets/osmesa/test-render.cpp | |
parent | 655394c6ed2ef15c66ea8234d7ab388901f7e295 (diff) |
gallium/osmesa: Fix MakeCurrent of non-8888 contexts.
OSMesa is weird and you only get the type (byte/ubyte/565/etc.) at
MakeCurrent time, having only a channel order at CreateContext time. The
code was setting up a visual at CreateContext time, and then at
MakeCurrent it would fail to validate against the visual.
Reviewed-by: Danylo Piliaiev <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3216>
Diffstat (limited to 'src/gallium/targets/osmesa/test-render.cpp')
0 files changed, 0 insertions, 0 deletions