Q Prefix?
Posted: Sun Mar 11, 2007 8:27 am
So I was just looking through the Q3 source code and found a file that renamed opengl functions by giving them a q prefix.
Something like this:
#define qglStencilMask glStencilMask
What exactly is the point of such a seemingly significant waste of time/code? (note that there's a whole list of these redefinitions. Even bool is redefined!)
So what's up guys? Is it iD just being quirky? Is it a copyright thing? Or was it for having a semi-uniform naming scheme?
I'm just kinda interested since it looks kinda silly to me.
Something like this:
#define qglStencilMask glStencilMask
What exactly is the point of such a seemingly significant waste of time/code? (note that there's a whole list of these redefinitions. Even bool is redefined!)
So what's up guys? Is it iD just being quirky? Is it a copyright thing? Or was it for having a semi-uniform naming scheme?
I'm just kinda interested since it looks kinda silly to me.