Skip to content
Snippets Groups Projects
Commit d2bb9964 authored by Reimar Döffinger's avatar Reimar Döffinger Committed by Anthony Liguori
Browse files

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.

Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
parent 1960cacf
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment