diff options
author | Keith Whitwell <[email protected]> | 2010-10-08 17:01:16 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2010-10-08 17:26:29 +0100 |
commit | ad6730fadbbeacea96322e31064ede9ea7ebad6f (patch) | |
tree | 919e2537e338a16cdb7f0967c2da22ffda36b111 /src/gallium/drivers/llvmpipe/lp_setup_context.h | |
parent | eb605701aa4af9ea44004008256a5707e470738c (diff) |
llvmpipe: fail gracefully on oom in scene creation
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_setup_context.h')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_setup_context.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup_context.h b/src/gallium/drivers/llvmpipe/lp_setup_context.h index 8506ed2dc9e..e7b425ebcbc 100644 --- a/src/gallium/drivers/llvmpipe/lp_setup_context.h +++ b/src/gallium/drivers/llvmpipe/lp_setup_context.h @@ -160,12 +160,12 @@ void lp_setup_choose_point( struct lp_setup_context *setup ); void lp_setup_init_vbuf(struct lp_setup_context *setup); -void lp_setup_update_state( struct lp_setup_context *setup, +boolean lp_setup_update_state( struct lp_setup_context *setup, boolean update_scene); void lp_setup_destroy( struct lp_setup_context *setup ); -void lp_setup_flush_and_restart(struct lp_setup_context *setup); +boolean lp_setup_flush_and_restart(struct lp_setup_context *setup); void lp_setup_print_triangle(struct lp_setup_context *setup, @@ -191,6 +191,4 @@ lp_setup_bin_triangle( struct lp_setup_context *setup, const struct u_rect *bbox, int nr_planes ); -void lp_setup_flush_and_restart(struct lp_setup_context *setup); - #endif |