Skip to content
  • Alexei Podtelezhnikov's avatar
    [graph] Reduce color conversions in the blender. · 6ff0b61b
    Alexei Podtelezhnikov authored
    * graph/gblblit.c (GDST_COPY_VAR): Removed.
    (GDST_PIX, GDST_CHANNEL): New macros to convert color.
    (grBlitGlyphToSurface, grSetTargetPenBrush): Pass `grColor' unchanged.
    * graph/gblany.h (*): Use new marcos here.
    * graph/gblblit.h (GBlenderBlitFunc): Accept `grColor'.
    * graph/grobjs.h (grSurface): Use `grColor'.
    6ff0b61b