JBR-2593 Wide ligatures not rendered in Grayscale mode

Added missing flush of cached vertices

(cherry picked from commit ad409b4370)
This commit is contained in:
Alexey Ushakov
2020-07-21 19:55:26 +03:00
committed by jbrbot
parent 491c7f41a3
commit ce6f7accb4

View File

@@ -674,6 +674,7 @@ OGLTR_DisableGlyphModeState()
j2d_glPixelStorei(GL_UNPACK_SKIP_ROWS, 0);
/* FALLTHROUGH */
case MODE_USE_CACHE_GRAY:
OGLVertexCache_FlushVertexCache();
j2d_glPixelStorei(GL_UNPACK_ROW_LENGTH, 0);
j2d_glPixelStorei(GL_UNPACK_ALIGNMENT, 4);
j2d_glUseProgramObjectARB(0);