lavd/opengl_enc: factorize deinit_context function
authorLukasz Marek <lukasz.m.luki@gmail.com>
Sat, 1 Feb 2014 16:13:15 +0000 (17:13 +0100)
committerLukasz Marek <lukasz.m.luki@gmail.com>
Sun, 2 Feb 2014 01:23:25 +0000 (02:23 +0100)
commitc8275331bac53ebbaff56a6eaa376920923bc54a
tree09d0ff7bf6201c0a700b602586aab858630721ca
parent4afe1c1178556c82ef3b4602dd693cb2ceee6369
lavd/opengl_enc: factorize deinit_context function

This commit also fixes opengl deinitialization.
Program and shaders where not deleted.
Could impact MacOS implementation based on SDL window.

Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
libavdevice/opengl_enc.c