summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/winsys/svga/drm/vmw_screen_pools.c2
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;