]> git.tdb.fi Git - libs/gl.git/commit
Fix extension functions on Windows
authorMikko Rasa <tdb@tdb.fi>
Thu, 13 Nov 2014 18:55:10 +0000 (20:55 +0200)
committerMikko Rasa <tdb@tdb.fi>
Thu, 13 Nov 2014 21:23:00 +0000 (23:23 +0200)
commitbdced13c0814d1a860573a0ac19964da2ac4d5e1
treeb2f3f6c3d1ddef3fa381438581b00474911a6998
parente5d7b40938e4ae38c41ae6ed054319f7f3fa600f
Fix extension functions on Windows

They have to be marked with APIENTRY for the correct calling convention.
OpenGL 1.0 and 1.1 functions are not available through wglGetProcAddress,
so link them directly.
scripts/extgen.py
source/gl.h