diff options
| author | Alex Marshall <SquidMan72@gmail.com> | 2009-05-19 23:02:57 -0700 |
|---|---|---|
| committer | Alex Marshall <SquidMan72@gmail.com> | 2009-05-19 23:02:57 -0700 |
| commit | 6bebcd99ae7f1935c1554b9043eff966b50780a2 (patch) | |
| tree | a59a86eaa31c5ad6ed82efd631bbc9d6865c5001 /zetsubou | |
| parent | 791e87881f88eccb0c77977689b7dd2b3137649c (diff) | |
Garrr, i needed to be reset every 8 pixels.
Diffstat (limited to '')
| -rw-r--r-- | zetsubou/tpl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zetsubou/tpl.c b/zetsubou/tpl.c index 9060d5e..1e80b16 100644 --- a/zetsubou/tpl.c +++ b/zetsubou/tpl.c @@ -132,6 +132,7 @@ int TPL_ConvertRGBA8ToBitMap(u8* tplbuf, u32 tplsize, u32 tplpoint, u8** bitmapd } } iv++; + if(iv == 8) i = 0; // Gotta reset i every 8 "pixels"! if(iv >= 16) iv = 0; // Swap every 16 "pixels"! } } |
