glcontext: fix get_current_gl_api() on win32
authorMatthew Waters <matthew@centricular.com>
Tue, 21 Jun 2016 08:28:46 +0000 (18:28 +1000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:20 +0000 (19:32 +0000)
commit4a6b20cc42f8a18508f201f0f3058696de0bac6c
tree4b17e81adab8886c0ed9e2e0bf4519102e31466b
parentdfd6565b4be5917f45ea7822a0dbffaac0cd127c
glcontext: fix get_current_gl_api() on win32

Another case of incorrect calling conventions.

Using this function on win32 would corrupt the stack pointer and end in
massive hilarity.
gst-libs/gst/gl/gstglcontext.c