~ehmry/hottext

e7c399dbb6f8e5394c6554c624c7d12d19e24857 — Emery Hemingway 11 months ago aa42c01
Green tint text
1 files changed, 2 insertions(+), 2 deletions(-)

M src/hottext.nim
M src/hottext.nim => src/hottext.nim +2 -2
@@ 166,9 166,9 @@ proc render(state: var State) =
          cint glyph.image.width,
          cint glyph.image.height)
      if i == fixationOffset:
        discard glyph.texture.setTextureColorMod(0xff, 0, 0)
        discard glyph.texture.setTextureColorMod(0xff, 0x80, 0)
      else:
        discard glyph.texture.setTextureColorMod(0, 0, 0)
        discard glyph.texture.setTextureColorMod(0, 0x80, 0)
      state.renderer.copy(glyph.texture, nil, addr destRect)

proc initState(): State =