Fix calling conventions for GL functions.

The calling convention for all GL functions should be defined as GLAPIENTRY. On
some platforms (esp. Linux), this is empty, resulting in whatever the default
calling convention is for the compiler. On Windows, however, the calling
convention should be __stdcall, which is _not_ the default of MSVC. Calling
functions through pointers declared with the wrong convention results in stack
corruption and ultimate doom, fire and brimstone.

This change defines GLAPIENTRY in gl_types.h as __stdcall on WGL, and empty
if it's not already defined. Throughout, I've used this define on anything
that may be called through to GL or by GL (including things like the debug
callback).
Merge pull request #3 from grahamsellers/master

Fix calling conventions for GL functions.
More WGL fixes.

Add empty handler for wglGetPixelFormat.

On WGL, change wglGetProcAddress implementation to prefer calling the real wglGetProcAddress rather than SDL_GL_GetProcAddress. The former does not return pointers to core entry points for GL <= whatever opengl32.dll supports, whereas the latter appears to return a pointer for every function. Directly calling wglGetProcAddress more closely matches the capture and will avoid divergence (here).
Draw indirect implementation.

Initial implementation of glDrawElementsIndirect, glMultiDrawElementsIndirect, glDrawArraysIndirect and glMultiDrawArraysIndirect. This will probably only work when everything is server side. I've put a check in for client-side data here, but I'm not sure if that's all that's required.
Merge pull request #4 from grahamsellers/master

WGL + DrawIndirect fixes
+ Fix to loki complaining about function pointers
- Ignore certain entry points during replay.
Merge branch 'master' of https://github.com/vMcJohn/vogl
Implemented glDrawArraysInstancedBaseInstance, glDrawElementsInstancedBaseInstance, glDrawElementsInstancedBasevertexBaseInstance.

With this change, a number of SuperBible 6 samples start working.
Fix to spam regarding wglSwapInterval
Fixed errors for functions that were whitelisted but didn't actually do anything.
More printf cleanup.
Merge branch 'master' of https://github.com/vMcJohn/vogl
Implement WGL versions of various utility functions.

Provide typedefs for vogl_gl_context, vogl_gl_drawable and vogl_gl_display in vogl_gl_utils.h.
Provide implementations of vogl_has_active_context, vogl_get_current_context, vogl_get_current_display, vogl_get_current_drawable and vogl_make_current and vogl_destroy_context for WGL.

With this, texture capture on Windows appears to be working.
Merge branch 'master' of https://github.com/ValveSoftware/vogl
Fix failure on linux to cross-play traces (32-on-64, 64-on-32).
Add WGL support in _is_swap_buffers and _is_make_current utilities.
Merge pull request #5 from grahamsellers/master

Multiple Fixes...
Merge branch 'master' of https://github.com/ValveSoftware/vogl
Fix to CS:GO rendering--uses PMB, needs to capture additional buffer creation method.
Complete cleanup of BufferStorage startup