fixed OpenGL textures deletion

This commit is contained in:
Luis Ángel San Martín 2015-06-23 22:10:08 +02:00
parent b68596e606
commit 0959c565fa

View File

@ -806,6 +806,8 @@ void YACReaderFlowGL::populate(int n)
void YACReaderFlowGL::reset()
{
makeCurrent();
startAnimationTimer();
currentSelected = 0;
@ -821,6 +823,8 @@ void YACReaderFlowGL::reset()
if(!hasBeenInitialized)
lazyPopulateObjects = -1;
doneCurrent();
}
void YACReaderFlowGL::reload()