diff options
author | Brian Paul <[email protected]> | 2011-09-22 17:02:59 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-09-23 07:59:00 -0600 |
commit | 5f053bf4ae092df9e5ff6ab38caf9867e6fe46bf (patch) | |
tree | 17e87d1b8f619f81b3ff542229b8a6f3c6de0f78 /src/gallium/drivers/svga/svga_state.h | |
parent | 681f92140c2f4170ec222a8213e0895c7fa8483a (diff) |
svga: clean up return values and error codes
Previously we were using a hodge podge of int vs. pipe_enum and
0 vs. PIPE_OK. Some functions that always returned PIPE_OK were
made void.
Diffstat (limited to 'src/gallium/drivers/svga/svga_state.h')
-rw-r--r-- | src/gallium/drivers/svga/svga_state.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_state.h b/src/gallium/drivers/svga/svga_state.h index 7f239e7a322..de76cc2c339 100644 --- a/src/gallium/drivers/svga/svga_state.h +++ b/src/gallium/drivers/svga/svga_state.h @@ -40,7 +40,7 @@ void svga_destroy_state( struct svga_context *svga ); struct svga_tracked_state { const char *name; unsigned dirty; - int (*update)( struct svga_context *svga, unsigned dirty ); + enum pipe_error (*update)( struct svga_context *svga, unsigned dirty ); }; /* NEED_SWTNL |