mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-22 11:46:11 +03:00
renderer/opengl: set texture size for constrained glyphs
This wasn't setting the texture size so the glyphs would show up blank (zero texture size).
This commit is contained in:
@ -208,6 +208,7 @@ void main() {
|
||||
// device coordinates (0 to 1.0) by dividing by the size of the texture.
|
||||
ivec2 text_size;
|
||||
switch(mode) {
|
||||
case MODE_FG_CONSTRAINED:
|
||||
case MODE_FG:
|
||||
text_size = textureSize(text, 0);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user