Never use more than 16bpp on textures
authorAlberto Mardegan <mardy@users.sourceforge.net>
Sun, 10 Jul 2011 08:17:33 +0000 (11:17 +0300)
committerAlberto Mardegan <mardy@users.sourceforge.net>
Tue, 12 Jul 2011 12:26:50 +0000 (15:26 +0300)
commit2bf2dfa97c1dc9f6d05161081da8821fbe22ea15
treec54021fb110dd2e26286a6f7e9b58ec12d9c92e1
parentf78dca6bb6e93b7c8939b80da54a056195860035
Never use more than 16bpp on textures

The N900 display is set to 16bpp anyways, so anything more than that is just a
waste of memory. This brings a notable performance gain, as the FPS change from
about 15 to 20.
Note that the image_scale function should also be adjusted to cope with these
changes.
share/image.c