mirror of https://github.com/odrling/Aegisub
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
bd485315a8
commit
1e52702f0a
|
@ -244,7 +244,7 @@ OpenGLTextGlyph OpenGLText::CreateGlyph(int n) {
|
||||||
// Texture constructor
|
// Texture constructor
|
||||||
OpenGLTextTexture::OpenGLTextTexture(int w,int h) {
|
OpenGLTextTexture::OpenGLTextTexture(int w,int h) {
|
||||||
// Properties
|
// Properties
|
||||||
x = y = 0;
|
x = y = nextY = 0;
|
||||||
width = SmallestPowerOf2(w);
|
width = SmallestPowerOf2(w);
|
||||||
height = SmallestPowerOf2(h);
|
height = SmallestPowerOf2(h);
|
||||||
tex = 0;
|
tex = 0;
|
||||||
|
|
Loading…
Reference in New Issue