mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Issue #25: MinGW compilation fix
This commit is contained in:
@ -19,6 +19,7 @@
|
||||
#include "pdffont.h"
|
||||
#include "pdfconstants.h"
|
||||
|
||||
#include <QColorSpace>
|
||||
#include <QElapsedTimer>
|
||||
|
||||
namespace pdftool
|
||||
@ -185,7 +186,7 @@ int PDFToolRenderBase::execute(const PDFToolOptions& options)
|
||||
surfaceFormat = QSurfaceFormat::defaultFormat();
|
||||
surfaceFormat.setProfile(QSurfaceFormat::CoreProfile);
|
||||
surfaceFormat.setSamples(options.renderMSAAsamples);
|
||||
surfaceFormat.setColorSpace(QSurfaceFormat::sRGBColorSpace);
|
||||
surfaceFormat.setColorSpace(QColorSpace(QColorSpace::SRgb));
|
||||
surfaceFormat.setSwapBehavior(QSurfaceFormat::DefaultSwapBehavior);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user