mirror of
https://github.com/nzp-team/fteqw.git
synced 2025-02-17 01:11:18 +00:00
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:
parent
176b5688eb
commit
3e6c4e4c34
1 changed files with 13 additions and 0 deletions
|
@ -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)
|
void stub_glAlphaFunc(GLenum func, GLclampf ref)
|
||||||
{
|
{
|
||||||
glAlphaFunc(func, ref);
|
glAlphaFunc(func, ref);
|
||||||
|
|
Loading…
Reference in a new issue