~vcs-imports/qemu/git

Viewing all changes in revision 8308.

  • Committer: Andrzej Zaborowski
  • Author(s): Reimar Döffinger
  • Date: 2009-08-23 16:03:34 UTC
  • Revision ID: git-v1:699960b2725f392ccc5070602edf67a7f314f552
sdl.c: support 32 bpp cursors

Hello,
currently when a 32 bpp cursor gets defined the result is all-black in
the areas that are not transparent (you'll get a 32 bpp cursor if you
use my previous patch to allow vmware_vga to use a 32 bpp framebuffer).
This is because the switch in sdl.c lacks a 32 bpp case.
The thing I am unsure about though is which byte is the unused one and
should be skipped, the first or the last - for the black-and-white
cursors I tested it doesn't make a difference...

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Andrzej Zaborowski <balrogg@gmail.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: