hidgl: Fixup signature gluTessCallback functions to work on Win32
commit04737e10ed0ad3942994179242a224142a5782c5
authorPeter Clifton <peter@clifton-electronics.co.uk>
Sat, 24 Nov 2012 18:53:59 +0000 (24 18:53 +0000)
committerPeter Clifton <peter@clifton-electronics.co.uk>
Sat, 24 Nov 2012 18:53:59 +0000 (24 18:53 +0000)
tree2df63eed6fc10f06bab0907f60826597d633a9d4
parent56e66b0a9382b8998bcd564208bf5c5615ee28fb
hidgl: Fixup signature gluTessCallback functions to work on Win32

On windows these callbacks are invoked using stdcall calling convention
and we need to annotate then with the "CALLBACK" macro to achieve this.

If we ever end up using glew.h, we can probably drop the #ifndef CALLBACK
check which #defines CALLBACK to an empty string on other platforms.
src/hid/common/hidgl.c