mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
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>
This commit is contained in:
parent
08085df313
commit
224fd17e1e
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue