projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08085df
)
winsys/svga: check correct member after create
author
Grazvydas Ignotas
<notasas@gmail.com>
Mon, 22 Jan 2018 22:41:00 +0000
(15:41 -0700)
committer
Brian Paul
<brianp@vmware.com>
Tue, 23 Jan 2018 18:04:07 +0000
(11:04 -0700)
.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>
src/gallium/winsys/svga/drm/vmw_screen_pools.c
patch
|
blob
|
history
diff --git
a/src/gallium/winsys/svga/drm/vmw_screen_pools.c
b/src/gallium/winsys/svga/drm/vmw_screen_pools.c
index 48c95e5069e8e8f6387e1b307af1f86c636fa41f..29cdc69e285fb86ec82b18aa68589749ceb44bbd 100644
(file)
--- 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;