Lua: converted internal graphic buffer to 32bpp, however, the final output is still indexed 8bpp (XBuf); sideeffects: add gui.opacity, fix gui.line, add small font of gens lua (not used), gui.gdoverlay supports indexed image.

This commit is contained in:
gocha 2009-10-12 07:32:31 +00:00
parent ea652c6836
commit f075b248ae
2 changed files with 932 additions and 282 deletions

View File

@ -404,7 +404,7 @@ void DrawTextTransWH(uint8 *dest, uint32 width, uint8 *textmsg, uint8 fgcolor, i
char target[64][256] = {{0}};
assert(width==256);
if (max_w > 256) max_w = 256;
if (max_w > 256) max_w = 256;
if (max_h > 64) max_h = 64;
for(; *textmsg; ++textmsg)

File diff suppressed because it is too large Load Diff