diff options
Diffstat (limited to 'src/gallium/winsys/radeon/drm/radeon_drm_winsys.c')
-rw-r--r-- | src/gallium/winsys/radeon/drm/radeon_drm_winsys.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c index 3386c8d..442bd2a 100644 --- a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c +++ b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c @@ -329,10 +329,10 @@ struct radeon_winsys *radeon_drm_winsys_create(int fd) /* Create managers. */ ws->kman = radeon_bomgr_create(ws); if (!ws->kman) - goto fail; + goto fail; ws->cman = pb_cache_manager_create(ws->kman, 1000000); if (!ws->cman) - goto fail; + goto fail; /* Set functions. */ ws->base.destroy = radeon_winsys_destroy; @@ -349,9 +349,9 @@ struct radeon_winsys *radeon_drm_winsys_create(int fd) fail: if (ws->cman) - ws->cman->destroy(ws->cman); + ws->cman->destroy(ws->cman); if (ws->kman) - ws->kman->destroy(ws->kman); + ws->kman->destroy(ws->kman); FREE(ws); return NULL; } |