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:
parent
5bdcf2f63a
commit
083e2ee91c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue