when virgl_renderer_init is called from qemu for initializing D-GL no context type flags are set and the context remains at NONE. Assume in this case that gl_colorspace is true, otherwise the feat_srgb_write_control flag will be cleared and the guest only gets OpenGL 2.1 compatibility. Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Reviewed-by: Elie Tournier <elie.tournier@collabora.com> Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org> Signed-off-by: Dave Airlie <airlied@redhat.com>macos/master
parent
acc261b06b
commit
b4d4a9b2eb
Loading…
Reference in new issue