#18329 - Mali - Wed Mar 24, 2004 4:03 am
why I need a palette in mode 4,but it is not needed in mode 3 ?
#18331 - XeroxBoy - Wed Mar 24, 2004 4:11 am
Mode 4 uses palettized 8-bit colour. Each pixel is actually a byte that points to one of 256 different colours in the palette. While this limits the number of colours on screen at one time, the data is smaller so there's enough VRAM for a backbuffer.
Mode 3 is 16-bit colour. Each pixel is the actual colour value stored in B5G5R5 format. This means that more colours can be displayed, but the data is twice as big, so there's no room for a backbuffer.
#18333 - Mali - Wed Mar 24, 2004 4:39 am
o ,I see,thank you very much~