mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-05 00:20:11 +01:00
svga: replace 0 with PIPE_OK in a few places
This commit is contained in:
parent
5e7ac28ebf
commit
92cbfded6a
3 changed files with 5 additions and 5 deletions
|
|
@ -74,7 +74,7 @@ update_need_swvfetch(struct svga_context *svga, unsigned dirty)
|
|||
|
||||
if (!svga->curr.velems) {
|
||||
/* No vertex elements bound. */
|
||||
return 0;
|
||||
return PIPE_OK;
|
||||
}
|
||||
|
||||
for (i = 0; i < svga->curr.velems->count; i++) {
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@ update_tss_binding(struct svga_context *svga,
|
|||
|
||||
svga->rebind.texture_samplers = FALSE;
|
||||
|
||||
return 0;
|
||||
return PIPE_OK;
|
||||
|
||||
fail:
|
||||
return PIPE_ERROR_OUT_OF_MEMORY;
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@ update_swtnl_draw( struct svga_context *svga,
|
|||
draw_set_mrd(svga->swtnl.draw,
|
||||
svga->curr.depthscale);
|
||||
|
||||
return 0;
|
||||
return PIPE_OK;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -223,12 +223,12 @@ svga_swtnl_update_vdecl( struct svga_context *svga )
|
|||
vdecl[i].array.stride = offset;
|
||||
|
||||
if (memcmp(svga_render->vdecl, vdecl, sizeof(vdecl)) == 0)
|
||||
return 0;
|
||||
return PIPE_OK;
|
||||
|
||||
memcpy(svga_render->vdecl, vdecl, sizeof(vdecl));
|
||||
svga->swtnl.new_vdecl = TRUE;
|
||||
|
||||
return 0;
|
||||
return PIPE_OK;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue