mirror of
https://github.com/qemu/qemu.git
synced 2025-08-10 21:34:57 +00:00
vmware_vga: the support to change dinamically depth is not there
For a start bypp is not changed after vmsvga_reset() and it depends on depth Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
0c68132259
commit
3b1297f50b
@ -1095,7 +1095,7 @@ static int vmsvga_load(struct vmsvga_state_s *s, QEMUFile *f)
|
|||||||
s->syncing=qemu_get_be32(f);
|
s->syncing=qemu_get_be32(f);
|
||||||
s->fb_size=qemu_get_be32(f);
|
s->fb_size=qemu_get_be32(f);
|
||||||
|
|
||||||
if (s->enable && depth != s->depth) {
|
if (depth != s->depth) {
|
||||||
printf("%s: need colour depth of %i bits to resume operation.\n",
|
printf("%s: need colour depth of %i bits to resume operation.\n",
|
||||||
__FUNCTION__, depth);
|
__FUNCTION__, depth);
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
Loading…
Reference in New Issue
Block a user