gstgl: Re-enable WINAPI on _MSC_VER
authorNirbheek Chauhan <nirbheek@centricular.com>
Fri, 28 Oct 2016 00:53:02 +0000 (06:23 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Fri, 28 Oct 2016 04:30:59 +0000 (10:00 +0530)
commit7e6764e304a472077e06701e9547245698716e68
treea3077832f9b6da160a68a74d95db016aae803626
parent111eb088fbaba7001eb055630b1f702ef5ccfa21
gstgl: Re-enable WINAPI on _MSC_VER

The calling convention may be deprecated, but we still need it for
OpenGL. The build issue was caused by an incorrect syntax being used for
the WINAPI (__stdcall) prototype in function pointers which was accepted
by GCC but is rejected by MSVC.
gst-libs/gst/gl/gstglapi.h
gst-libs/gst/gl/gstglshader.c
gst-libs/gst/gl/gstglsl_private.h