TINYGL: Moved variable initialization in the appropriate line.
This commit is contained in:
parent
986d6a9d8b
commit
ff488253e7
1 changed files with 1 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue