aboutsummaryrefslogtreecommitdiff
path: root/qapi/string-input-visitor.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2023-01-24 17:47:18 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2023-03-13 23:48:45 +0400
commit6f2688f776ea2500fa2b5055b3de5df1c8473ef5 (patch)
tree1e0658dbd248121c8e925eac3abb332b5bf35337 /qapi/string-input-visitor.c
parent6effaa16ac9846e7d6197ee54a0551fba61aecd7 (diff)
downloadqemu-6f2688f776ea2500fa2b5055b3de5df1c8473ef5.zip
qemu-6f2688f776ea2500fa2b5055b3de5df1c8473ef5.tar.gz
qemu-6f2688f776ea2500fa2b5055b3de5df1c8473ef5.tar.bz2
ui/sdl: get the GL context from the window
There is no guarantee to have a current GL context here. The current code seems to rely on the renderer using a GL backend, and to set a current GL context. But this is not always the case, for example if the renderer backend is DirectX. This change is enough to fix using virgl with sdl2 on win32, on my setup. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'qapi/string-input-visitor.c')
0 files changed, 0 insertions, 0 deletions