glcontext: fix get_current_gl_api() on win32
authorMatthew Waters <matthew@centricular.com>
Tue, 21 Jun 2016 08:28:46 +0000 (18:28 +1000)
committerMatthew Waters <matthew@centricular.com>
Tue, 21 Jun 2016 12:57:00 +0000 (22:57 +1000)
commit8a67cd90b3618d4f01928c66c9108d99229e425f
tree74bf129b85dce51c8693d152feecf429ec88a36b
parentd3f3787d64bd0adb56bd2052e733e61f10f55acf
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