Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Recover lazy-uniform-value setting in drawImageTiles

Dmitry Kazakov80fb1ad54572
diff --git a/libs/ui/opengl/KisOpenGLCanvasRenderer.cpp b/libs/ui/opengl/KisOpenGLCanvasRenderer.cpp
index ef82e89bfe..2ed031bf77 100644
--- a/libs/ui/opengl/KisOpenGLCanvasRenderer.cpp
+++ b/libs/ui/opengl/KisOpenGLCanvasRenderer.cpp
@@ -956,6 +956,7 @@ void KisOpenGLCanvasRenderer::drawImageTiles(int firstCol, int lastCol, int firs
d->displayShader->setUniformValue(d->displayShader->location(Uniform::FixedLodLevel),
(GLfloat) currentLodPlane);
+ lastTileLodPlane = currentLodPlane;
}
if (currentLodPlane > 0) {