diff options
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r-- | src/gallium/winsys/drm/vmware/core/vmw_screen_ioctl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/winsys/drm/vmware/core/vmw_screen_ioctl.c b/src/gallium/winsys/drm/vmware/core/vmw_screen_ioctl.c index f2de2c333ff..5d81fa8c4a6 100644 --- a/src/gallium/winsys/drm/vmware/core/vmw_screen_ioctl.c +++ b/src/gallium/winsys/drm/vmware/core/vmw_screen_ioctl.c @@ -176,12 +176,12 @@ vmw_ioctl_surface_create(struct vmw_winsys_screen *vws, memset(&s_arg, 0, sizeof(s_arg)); if (vws->use_old_scanout_flag && - (req->flags & SVGA3D_SURFACE_HINT_SCANOUT)) { - req->flags = (uint32_t) (flags & ~SVGA3D_SURFACE_HINT_SCANOUT); + (flags & SVGA3D_SURFACE_HINT_SCANOUT)) { + req->flags = (uint32_t) flags; req->scanout = false; - } else if (req->flags & SVGA3D_SURFACE_HINT_SCANOUT) { + } else if (flags & SVGA3D_SURFACE_HINT_SCANOUT) { req->flags = (uint32_t) (flags & ~SVGA3D_SURFACE_HINT_SCANOUT); - req->scanout = false; + req->scanout = true; } else { req->flags = (uint32_t) flags; req->scanout = false; |