[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] use corect depth from DisplaySurface in vmware_vga.
From: |
Reimar Döffinger |
Subject: |
[Qemu-devel] [PATCH] use corect depth from DisplaySurface in vmware_vga.c |
Date: |
Mon, 17 Aug 2009 12:08:28 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Hello,
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
code??).
vmware_depth.diff
Description: Text document
- [Qemu-devel] [PATCH] use corect depth from DisplaySurface in vmware_vga.c,
Reimar Döffinger <=