win32: fix gl api calls on 32-bit

win has the bright idea of having 5 different calling conventions.
we should probably use the right one so we don't crash from stack
corruption.