[AD] [TODO BUGFIX] Wrong framebuffer 24 bit scrolling |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: Allegro Conductors <conductors@xxxxxxxxxx>
- Subject: [AD] [TODO BUGFIX] Wrong framebuffer 24 bit scrolling
- From: Grzegorz Adam Hankiewicz <gradha@xxxxxxxxxx>
- Date: Thu, 16 Aug 2001 15:52:31 +0200 (CEST)
Hi.
I have just noticed that scrolling in 24 bit modes with framebuffer on my
matrox card makes funny effects: looks like allegro is presuming that 24
bit is really 32 with a padding byte, while the framebufer seems to be
working as real continuos 24 bit pixels, meaning that depending on the x
position of the scroll, colors are messed, possibly because the order of
red, green, bytes are taken wrongly from nearby pixels. The two pixel step
horizontal scrolling seems to corroborate this theory, as it should be a
smooth one pixel step scrolling.
I will have to see if the same happens with a vesafb. Should be put as a
bugfix on the todo file.
--
Grzegorz Adam Hankiewicz gradha@xxxxxxxxxx http://gradha.infierno.org