mirror of
https://github.com/YACReader/yacreader
synced 2025-07-21 14:34:42 -04:00
A?adido di?logo de selecci?n del flow (en el primer arranque).
A?adida la comprobaci?n de que OpenGL est? disponible en el sistema.
This commit is contained in:
@ -270,7 +270,7 @@ void YACReaderFlowGL::initializeGL()
|
||||
markTexture = bindTexture(QImage(":/images/setRead.png"),GL_TEXTURE_2D,GL_RGBA,QGLContext::LinearFilteringBindOption | QGLContext::MipmapBindOption);
|
||||
|
||||
if(lazyPopulateObjects!=-1)
|
||||
populate(lazyPopulateObjects); //TODO esto es responsabilidad del usuario de la clase
|
||||
populate(lazyPopulateObjects);
|
||||
}
|
||||
|
||||
void YACReaderFlowGL::paintGL()
|
||||
@ -1158,8 +1158,8 @@ void YACReaderPageFlowGL::updateImageData()
|
||||
void YACReaderPageFlowGL::populate(int n)
|
||||
{
|
||||
worker->reset();
|
||||
if(lazyPopulateObjects!=-1)
|
||||
YACReaderFlowGL::populate(n);
|
||||
//if(lazyPopulateObjects!=-1)
|
||||
//YACReaderFlowGL::populate(n);
|
||||
lazyPopulateObjects = n;
|
||||
imagesReady = QVector<bool> (n,false);
|
||||
rawImages = QVector<QByteArray> (n);
|
||||
|
Reference in New Issue
Block a user