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 bd485315a8
commit 1e52702f0a

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;