#167135 - Dwedit - Tue Mar 03, 2009 12:51 am
In videogl.h:
Lines 301 and 302:
// Pointer to global data for videoGL
static gl_hidden_globals* glGlob = &glGlobalData;
This is executable code which forces the linker to include all of videogl.a, no matter what.
I suggest replacing it with this:
#define glGlob (&glGlobalData)
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."
Lines 301 and 302:
// Pointer to global data for videoGL
static gl_hidden_globals* glGlob = &glGlobalData;
This is executable code which forces the linker to include all of videogl.a, no matter what.
I suggest replacing it with this:
#define glGlob (&glGlobalData)
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."