mirror of
https://github.com/irmen/prog8.git
synced 2024-12-24 01:29:28 +00:00
bmx library: set bpp header field correctly on save
This commit is contained in:
parent
647af34f5b
commit
2a3a27c56d
@ -170,6 +170,7 @@ save_end:
|
||||
sub set_bpp(ubyte bpp) {
|
||||
ubyte[8] depths = [0,1,1,2,2,2,2,3]
|
||||
vera_colordepth = depths[bpp-1]
|
||||
bitsperpixel = bpp
|
||||
}
|
||||
|
||||
sub set_vera_colordepth(ubyte depth) {
|
||||
|
@ -1,6 +1,8 @@
|
||||
TODO
|
||||
====
|
||||
|
||||
- add more optimized routine in conv to convert (u)byte to string. (it now reuses the pretty large word to string routine)
|
||||
|
||||
...
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user