OSDN Git Service

console: don't set PixelFormat alpha fields for 32bpp
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 10 Oct 2012 09:16:26 +0000 (11:16 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 1 Nov 2012 13:00:04 +0000 (14:00 +0100)
commit09bbb0ae8226c71aba440bdfa6fca300acd9e5d4
tree8f9332b1cc6d732faaab50ae2b77ddc983d6ae49
parent537a43913c19973adc4153d30498591f92a90359
console: don't set PixelFormat alpha fields for 32bpp

Currently it is inconstent, PixelFormat->amask is left unset whereas
abits and amax and ashift are filled.  As an alpha channel doesn't make
sense for the vga framebuffer leave all alpha fields clear.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
console.c