diff options
| author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-08-23 18:00:33 +0200 |
|---|---|---|
| committer | Andrzej Zaborowski <balrog@zabor.org> | 2009-08-23 18:00:33 +0200 |
| commit | c00a9de060124a988bd9847c095e5836488c6f01 (patch) | |
| tree | 28afa2671b61024ac01b978e3304bdece8b06ab8 /hw/zaurus.c | |
| parent | 13f59cbfe37834d7a00145435405af40a1237514 (diff) | |
| download | focaccia-qemu-c00a9de060124a988bd9847c095e5836488c6f01.tar.gz focaccia-qemu-c00a9de060124a988bd9847c095e5836488c6f01.zip | |
Use corect depth from DisplaySurface in vmware_vga.c
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.
Diffstat (limited to 'hw/zaurus.c')
0 files changed, 0 insertions, 0 deletions