[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] use corect depth from DisplaySurface in vmware_vga.
[Qemu-devel] [PATCH] use corect depth from DisplaySurface in vmware_vga.c
Mon, 17 Aug 2009 12:08:28 +0200
for what I can tell, there is no way for vmware_vga to work correctly
right now. It assumes that the framebuffer bits-per-pixel and the one
from the DisplaySurface are identical (it uses directly the VRAM from
vga.c), but it always assumes 3 bytes per pixel, which is never possible
with the current version of DisplaySurface.
Attached patch fixes that by using ds_get_bits_per_pixel.
Note that this further breaks the already broken compilation if you use
#undef EMBED_STDVGA (maybe it is time to throw away all that broken
Description: Text document
- [Qemu-devel] [PATCH] use corect depth from DisplaySurface in vmware_vga.c,
Reimar Döffinger <=