diff options
author | Brian Paul <[email protected]> | 2014-02-14 07:45:23 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2014-02-14 09:56:55 -0700 |
commit | e4a5a9fd2fdd5b5ae8b85ac743a228f409a21a70 (patch) | |
tree | 673d2bd16d7fb5baedda1ee911a3459ce7bbb42a /src/gallium/winsys/svga/drm | |
parent | 141e39a8936a7b19fd857a35ea2d200daf1777c7 (diff) |
gallium/pipebuffer: change pb_cache_manager_create() size_factor to float
Requested by Marek.
Reviewed-by: Marek Olšák <[email protected]>
Cc: "10.1" <[email protected]>
Diffstat (limited to 'src/gallium/winsys/svga/drm')
-rw-r--r-- | src/gallium/winsys/svga/drm/vmw_screen_pools.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/svga/drm/vmw_screen_pools.c b/src/gallium/winsys/svga/drm/vmw_screen_pools.c index 7f7b77982af..c97b71fc5e4 100644 --- a/src/gallium/winsys/svga/drm/vmw_screen_pools.c +++ b/src/gallium/winsys/svga/drm/vmw_screen_pools.c @@ -115,7 +115,7 @@ vmw_mob_pools_init(struct vmw_winsys_screen *vws) struct pb_desc desc; vws->pools.mob_cache = - pb_cache_manager_create(vws->pools.gmr, 100000, 2, + pb_cache_manager_create(vws->pools.gmr, 100000, 2.0f, VMW_BUFFER_USAGE_SHARED); if (!vws->pools.mob_cache) return FALSE; |