A comment for the sake of reasoning for this file to exist. (poor windows/unix programmers)

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2076 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2006-03-10 03:57:11 +00:00
parent 176b5688eb
commit 3e6c4e4c34

View file

@ -1,3 +1,16 @@
/*
This file is currently used only by bigfoot's MorphOS port.
I should explain this file to any Unix/Windows programmers...
Over on amiga-like operating systems, each system function to dynamic libraries is defined as a macro to a jmp statement.
along the lines of ((myfunc_t)((char*)library + offset))(parameters);
Obviously, in an engine that likes function pointers to all the gl functions, this is somewhat problematic.
You can see the state of his opengl library be seeing which functions are actually implemented. :)
*/
void stub_glAlphaFunc(GLenum func, GLclampf ref)
{
glAlphaFunc(func, ref);