(svn r10092) -Codechange: code-seperated the spriteloader and blitter from the rest of the code

-Add: make it possible to pick your own blitter (-b <blitter>, -h for overview)
-Add: added a new optimized 8bpp blitter (default, caches sprites of all zoom-levels)
-Add: added a debug 8bpp blitter and a very slow normal 8bpp blitter
This commit is contained in:
truelight
2007-06-11 11:50:49 +00:00
parent 68c369ea98
commit 6b101cc177
20 changed files with 909 additions and 292 deletions

View File

@@ -399,7 +399,6 @@ const Sprite *GetGlyph(FontSize size, WChar key)
/* FreeType has rendered the glyph, now we allocate a sprite and copy the image into it */
sprite = (Sprite*)calloc(width * height + 8, 1);
sprite->info = 1;
sprite->width = width;
sprite->height = height;
sprite->x_offs = slot->bitmap_left;