mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user