diff options
author | Tom Stellard <[email protected]> | 2012-07-09 11:42:25 -0400 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-07-09 12:14:07 -0400 |
commit | 9b00edc79a49bd9fdef9102e3d74828d93ee185e (patch) | |
tree | fa43411d05ff8011bc2a2844b00968d23fb9b451 /src/gallium/drivers/r600/r600_pipe.c | |
parent | 76b44034b9b234d3db4012342f0fae677d4f10f6 (diff) |
r600g: Don't create a texture for the memory_pool during screen init
This fixes a segfault in r600_screen_create() introduced by
eb065f5d9d1159af3a88a64a7606c9b6d67dc3
Reported by tilman on irc.
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index 675834ed048..b354baecf65 100644 --- a/src/gallium/drivers/r600/r600_pipe.c +++ b/src/gallium/drivers/r600/r600_pipe.c @@ -952,7 +952,7 @@ struct pipe_screen *r600_screen_create(struct radeon_winsys *ws) rscreen->use_surface_alloc = debug_get_bool_option("R600_SURF", TRUE); rscreen->glsl_feature_level = debug_get_bool_option("R600_GLSL130", TRUE) ? 130 : 120; - rscreen->global_pool = compute_memory_pool_new(1024*16, rscreen); + rscreen->global_pool = compute_memory_pool_new(0, rscreen); return &rscreen->screen; } |