sdlshare: Destroy GL backend buffer before the GL Context
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 24 Nov 2017 22:06:22 +0000 (17:06 -0500)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:31 +0000 (19:32 +0000)
commitecab99a7a94f927f494e419eca915b7b87077abf
treed5781c21b31aa87bc0ee494a413149a707ce530a
parent9e208ba0b6bea2372f55746c7b4a38161f27480d
sdlshare: Destroy GL backend buffer before the GL Context

This was otherwise leading to a deadlock in the GL library.
tests/examples/gl/sdl/sdlshare.c