diff options
author | Grazvydas Ignotas <notasas@gmail.com> | 2018-01-22 15:41:00 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2018-01-23 11:04:07 -0700 |
commit | 224fd17e1ef5173f4406bdbcfd9434c3e0c38b22 (patch) | |
tree | 3061f401cd9203205372a176e4a91032f10ea91c /src/gallium/winsys/svga/drm/vmw_screen_pools.c | |
parent | 08085df3132fc7283b2a181221d748e6e4607812 (diff) |
winsys/svga: check correct member after create
.mob_fenced was already checked, probably a copy-paste bug.
Found by Coccinelle.
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/gallium/winsys/svga/drm/vmw_screen_pools.c')
-rw-r--r-- | src/gallium/winsys/svga/drm/vmw_screen_pools.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/svga/drm/vmw_screen_pools.c b/src/gallium/winsys/svga/drm/vmw_screen_pools.c index 48c95e5069e..29cdc69e285 100644 --- a/src/gallium/winsys/svga/drm/vmw_screen_pools.c +++ b/src/gallium/winsys/svga/drm/vmw_screen_pools.c @@ -150,7 +150,7 @@ vmw_mob_pools_init(struct vmw_winsys_screen *vws) vws->pools.mob_shader_slab_fenced = simple_fenced_bufmgr_create(vws->pools.mob_shader_slab, vws->fence_ops); - if(!vws->pools.mob_fenced) + if(!vws->pools.mob_shader_slab_fenced) goto out_no_mob_shader_slab_fenced; return TRUE; |