GLES: Skip blend reset after stencil upload.

We dirty the flag anyway.  Avoid extra calls.
This commit is contained in:
Unknown W. Brackets authored and Henrik Rydgård committed 2018-01-27 15:10:17 +01:00
1 parent f6260c75c9
commit 638cbf725b
2 files changed
+1 -2

No files matched your search

+1 -1
View File
@@ -214,7 +214,7 @@ void GLQueueRunner::RunInitSteps(const std::vector<GLRInitStep> &steps) {
boundTexture = tex->texture;
}
glTexParameteri(tex->target, GL_TEXTURE_MAX_LEVEL, step.texture_finalize.maxLevel);
tex->maxLod = step.texture_finalize.maxLevel;
tex->maxLod = (float)step.texture_finalize.maxLevel;
if (step.texture_finalize.genMips) {
glGenerateMipmap(tex->target);
}