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:
parent
ea652c6836
commit
f075b248ae
|
@ -404,7 +404,7 @@ void DrawTextTransWH(uint8 *dest, uint32 width, uint8 *textmsg, uint8 fgcolor, i
|
||||||
char target[64][256] = {{0}};
|
char target[64][256] = {{0}};
|
||||||
|
|
||||||
assert(width==256);
|
assert(width==256);
|
||||||
if (max_w > 256) max_w = 256;
|
if (max_w > 256) max_w = 256;
|
||||||
if (max_h > 64) max_h = 64;
|
if (max_h > 64) max_h = 64;
|
||||||
|
|
||||||
for(; *textmsg; ++textmsg)
|
for(; *textmsg; ++textmsg)
|
||||||
|
|
1212
src/lua-engine.cpp
1212
src/lua-engine.cpp
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue