viewer: ported to openglcolorprocessor for simpler code and fixed bug that

snuck in breaking color managed display
This commit is contained in:
itsmattkc
2020-02-22 00:13:28 +11:00
parent b0c9711974
commit 77c0c9d95a
5 changed files with 20 additions and 47 deletions
@@ -121,9 +121,9 @@ void OpenGLRenderFunctions::Blit(OpenGLShaderPtr pipeline, bool flipped, QMatrix
}
void OpenGLRenderFunctions::OCIOBlit(OpenGLShaderPtr pipeline,
GLuint lut,
bool flipped,
QMatrix4x4 matrix)
GLuint lut,
bool flipped,
QMatrix4x4 matrix)
{
QOpenGLContext* ctx = QOpenGLContext::currentContext();
QOpenGLExtraFunctions* xf = ctx->extraFunctions();