TINYGL: Moved variable initialization in the appropriate line.

This commit is contained in:
Stefano Musumeci 2014-08-10 19:39:56 +02:00
parent 986d6a9d8b
commit ff488253e7

View file

@ -165,9 +165,8 @@ void tglPresentBuffer() {
#endif
// Dispose textures and resources.
bool allDisposed;
bool allDisposed = true;
do {
allDisposed = true;
TinyGL::GLTexture *t = c->shared_state.texture_hash_table[0];
while (t) {
if (t->disposed) {