diff options
author | Brian Paul <brianp@vmware.com> | 2012-05-17 13:53:15 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2012-05-19 08:28:56 -0600 |
commit | 2786343896030ed4abcf6674a3e66f3a0d246e0d (patch) | |
tree | 185109d781ec110c5e26d9e912ec4e468faa0530 /src/gallium/drivers/svga/svga_state_need_swtnl.c | |
parent | fc71e0b4a8623dc1e0657a19998f54d5a5c491e1 (diff) | |
download | external_mesa3d-2786343896030ed4abcf6674a3e66f3a0d246e0d.zip external_mesa3d-2786343896030ed4abcf6674a3e66f3a0d246e0d.tar.gz external_mesa3d-2786343896030ed4abcf6674a3e66f3a0d246e0d.tar.bz2 |
svga: return PIPE_OK instead of 0
And fix the emit_rss() function's return type.
Diffstat (limited to 'src/gallium/drivers/svga/svga_state_need_swtnl.c')
-rw-r--r-- | src/gallium/drivers/svga/svga_state_need_swtnl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/svga/svga_state_need_swtnl.c b/src/gallium/drivers/svga/svga_state_need_swtnl.c index ce4db8d..7048668 100644 --- a/src/gallium/drivers/svga/svga_state_need_swtnl.c +++ b/src/gallium/drivers/svga/svga_state_need_swtnl.c @@ -97,7 +97,7 @@ update_need_swvfetch( struct svga_context *svga, svga->dirty |= SVGA_NEW_NEED_SWVFETCH; } - return 0; + return PIPE_OK; } struct svga_tracked_state svga_update_need_swvfetch = @@ -172,7 +172,7 @@ update_need_pipeline( struct svga_context *svga, if (0 && svga->state.sw.need_pipeline) debug_printf("sw.need_pipeline = %d\n", svga->state.sw.need_pipeline); - return 0; + return PIPE_OK; } @@ -228,7 +228,7 @@ update_need_swtnl( struct svga_context *svga, svga->swtnl.new_vdecl = TRUE; } - return 0; + return PIPE_OK; } |