osmesa: Unbind the current context when given a null context and buffer.
authorEmilio Cobos Álvarez <me@emiliocobos.me>
Fri, 23 Sep 2016 00:24:00 +0000 (18:24 -0600)
committerBrian Paul <brianp@vmware.com>
Sat, 24 Sep 2016 01:55:50 +0000 (19:55 -0600)
commitcb7c2c9d65d8a1db31e65023175ee81e029ed041
tree3110b3cfd407debff39fee73838e3e8371a16eae
parent07d1f8faf9a7b4bdf6989de7df928105cd248251
osmesa: Unbind the current context when given a null context and buffer.

This is needed to be consistent with other drivers.

Signed-off-by: Emilio Cobos Álvarez <me@emiliocobos.me>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/drivers/osmesa/osmesa.c