summary refs log tree commit diff stats
path: root/ui/sdl2.c
diff options
context:
space:
mode:
authorTao Wu <lepton@google.com>2017-11-09 10:17:41 -0800
committerGerd Hoffmann <kraxel@redhat.com>2017-11-10 11:05:19 +0100
commitc53f5b89f19b3051384d202dd750d23fb38f0994 (patch)
tree112bafa7e03b0aa3611a0a089228c09ba8b1b456 /ui/sdl2.c
parentb0fbe46ad82982b289a44ee2495b59b0bad8a842 (diff)
downloadfocaccia-qemu-c53f5b89f19b3051384d202dd750d23fb38f0994.tar.gz
focaccia-qemu-c53f5b89f19b3051384d202dd750d23fb38f0994.zip
virtio-gpu: fix bug in host memory calculation.
The old code treats bits as bytes when calculating host memory usage.
Change it to be consistent with allocation logic in pixman library.

Signed-off-by: Tao Wu <lepton@google.com>
Message-Id: <20171109181741.31318-1-lepton@google.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/sdl2.c')
0 files changed, 0 insertions, 0 deletions