gstgl: Re-enable WINAPI on _MSC_VER
authorNirbheek Chauhan <nirbheek@centricular.com>
Fri, 28 Oct 2016 00:53:02 +0000 (06:23 +0530)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:23 +0000 (19:32 +0000)
commitd57808385ce0a377e62a8fdf1d93f2616b496089
tree355f5d4022e4c6e4e28356f76c1c4b7baa740f9b
parent48fcf632bdc60fddf0da2c1a988436a6bf32a7da
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