BltTemplate Warning?
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Posts: 138 from 2015/3/31
    When I start my software (EdiSyn) in LogTool many messages appear of the form (on every redraw):

    BltTemplate template 0x2489fd5e sX 0 sMod 12 rp 0x25f7f320 layer 0x0 dX 24 dY -1 w 14 h 13 GfxBase 0x2003bacc LayersBase 0x20081304
    BltTemplate template 0x2489fd5e sX 0 sMod 12 rp 0x25f7f320 layer 0x0 dX 57 dY -1 w 7 h 13 GfxBase 0x2003bacc LayersBase 0x20081304

    I guess thats a kind of warning? that there is something odd? the dY -1?

    The Problem: I do not use BltTemplate calls in my software, but several ClipBlts and some Cybergraphics functions e.g. WritePixelArrayAlpha

    What kind of function could lead to such a message, and what could be wrong?
  • »16.03.16 - 17:39
    Profile Visit Website
  • MorphOS Developer
    jacadcaps
    Posts: 3021 from 2003/3/5
    From: Canada
    Since the Layer ptr is NULL, you are rendering to a plain BitMap (meaning a ClipBlit doesn't do much of a clipping) and BltTemplate complains that you want to draw outside of the unclipped BitMap boundaries. Sounds like a misplaced Text() call to me.
  • »16.03.16 - 18:27
    Profile Visit Website
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Posts: 138 from 2015/3/31
    Just if someone later search for it:

    Installing a Layer for it removes the message. Thanks again for the fast help.
  • »16.03.16 - 18:48
    Profile Visit Website