libgl-gdi: Prevent "pure virtual method called" error when.
authorJose Fonseca <jfonseca@vmware.com>
Thu, 16 Apr 2015 12:08:56 +0000 (13:08 +0100)
committerJose Fonseca <jfonseca@vmware.com>
Thu, 16 Apr 2015 19:37:34 +0000 (20:37 +0100)
commit8638e3ae1b33a887f24a6e50bdb722361ee9414c
treed1421926ee65131a468e206c3468879b97a83c39
parent4fc645aed10f3470bba2237a7e7314c3e2b3c25b
libgl-gdi: Prevent "pure virtual method called" error when.

When running piglit w/ llvmpipe on Windows several tests terminate
abnormally just when the test exits.

The problem was that LLVMContextDispose was being called
after LLVM global destructors.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/targets/libgl-gdi/libgl_gdi.c