Static initialization problem
Brought to you by:
dazuma,
rowanjames
It occasionally happens that a static "defaults"
parameter class object is initialized prior to the
static GlowColor's or GlowFont's that it uses resulting
in unpredictable behavior. There is a great deal of
information available about static initialization order
problems and a number of simple ways to avoid them.
johneddy@eng.buffalo.edu
Logged In: YES
user_id=18901
Investigating... I couldn't find any cases of static
defaults objects using static GlowColors or GlowFonts
specifically, but there are a bunch of cases of static
defaults objects using the static GLUT font constants.