Calculate display depths correctly.
commit6dce00114679bd52a8f9c7f3540c3c149cfcd368
authorLubomir Rintel <lkundrak@v3.sk>
Sat, 5 Sep 2009 18:35:56 +0000 (5 20:35 +0200)
committerLubomir Rintel <lkundrak@v3.sk>
Sat, 5 Sep 2009 18:35:56 +0000 (5 20:35 +0200)
treeaaf65b2c7554c1f4cc83ab42e4fa6e4d15ff5467
parentf50c413e73390e260783d7b6de8b2051748ae993
Calculate display depths correctly.

24-bit depth uses 4 bytes per pixel.
manic.c