mirror of
https://github.com/YACReader/yacreader
synced 2025-06-03 09:08:20 -04:00
fixed OpenGL textures deletion
This commit is contained in:
parent
b68596e606
commit
0959c565fa
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user