openclonk/tools
Günther Brammer d4634526fd GL: Switch from GLEW to Epoxy
Epoxy automatically fetches the extension functions on demand, including
the GLX context creation functions. This means that you can't test the
function pointers for NULL anymore, because they're always set to a
resolver function until the first call. Instead, you have to check for the
availability of an extension by the extension's name. Thanks to Isilkor for
catching these.

On windows, epoxy invalidates all extension function pointers when the
GL context changes. This means we need to have an active context at all
times we call an extension function (like wglGetPixelFormatAttribivARB)
or else the code will jump to an invalid pointer. On the other hand, we do
not need to make it reinitialize the pointers ourselves.

Epoxy automatically uses an alias for a function if the requested name is
not available, like glDebugMessageCallbackARB instead of
glDebugMessageCallback. It also does not have the problem with varying
parameter types for that function. So switch to it while removing
GLDEBUGPROCARB_USERPARAM_IS_CONST.
2016-02-06 16:50:47 +01:00
..
install update ala's music license (in the installer) 2016-01-24 00:25:33 +01:00
install_mac Rename game binary to "openclonk" (#830) 2013-01-28 13:57:29 +01:00
convert_cr_to_oc.py objects: Replace Grab defcore value with Touchable property 2011-01-02 23:55:48 +01:00
create_docs_function_list.py tools: added python script to extract functions from the docs for the C4Highlight MediaWiki plugin 2013-01-25 00:19:39 +01:00
get_current_year.vbs Automatically set C4COPYRIGHT_YEAR on win32 2011-05-20 13:40:27 +02:00
list_unused_sounds.py added a tool to list unused sounds 2015-12-16 17:57:28 +01:00
openclonk.vs14.natvis MSVC 2015: Add natvis file to solution 2015-12-29 13:58:15 +01:00
osx_bundle_libs GL: Switch from GLEW to Epoxy 2016-02-06 16:50:47 +01:00
osx_pack_gamedata.sh OSX: Use /bin/bash to pack game data 2015-01-23 19:22:04 +01:00
remove_unused_strings.py Remove unused language strings from Language*.txt 2015-01-01 22:13:56 +01:00