mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-04-21 00:48:36 +03:00
Update src/renderer/OpenGL.zig
Fix comment space Co-authored-by: Kat <65649991+00-kat@users.noreply.github.com>
This commit is contained in:
@ -1951,7 +1951,7 @@ fn addCursor(
|
|||||||
.glyph_offset_y = render.glyph.offset_y,
|
.glyph_offset_y = render.glyph.offset_y,
|
||||||
});
|
});
|
||||||
|
|
||||||
//Update cursor uniforms only when custom shaders are loaded
|
// Update cursor uniforms only when custom shaders are loaded
|
||||||
if (self.gl_state) |*gl_state| {
|
if (self.gl_state) |*gl_state| {
|
||||||
if (gl_state.custom) |*custom_state| {
|
if (gl_state.custom) |*custom_state| {
|
||||||
custom_state.addCursor(self.size, screen.cursor, cursor_style, render.glyph);
|
custom_state.addCursor(self.size, screen.cursor, cursor_style, render.glyph);
|
||||||
|
Reference in New Issue
Block a user