Initialized a variable that was being used before it was assigned an initial value

Originally committed to SVN as r2954.
This commit is contained in:
harukalover 2009-05-20 18:29:01 +00:00
parent 5bdcf2f63a
commit 083e2ee91c

View file

@ -244,7 +244,7 @@ OpenGLTextGlyph OpenGLText::CreateGlyph(int n) {
// Texture constructor
OpenGLTextTexture::OpenGLTextTexture(int w,int h) {
// Properties
x = y = 0;
x = y = nextY = 0;
width = SmallestPowerOf2(w);
height = SmallestPowerOf2(h);
tex = 0;