diff options
author | Marek Olšák <maraeo@gmail.com> | 2009-12-12 23:44:02 +0100 |
---|---|---|
committer | Corbin Simpson <MostAwesomeDude@gmail.com> | 2009-12-15 19:04:45 -0800 |
commit | 417ce06306962a9355cbb35cefcdea1951b0ce85 (patch) | |
tree | f344d823391afa3353ae5a366f848b8552251da7 /src/gallium/winsys/drm/radeon/core/radeon_drm.c | |
parent | bc443d841c84977abd88d3be3d78287480fbe72d (diff) |
r300g: flush CS if a buffer being deleted is referenced by it
Diffstat (limited to 'src/gallium/winsys/drm/radeon/core/radeon_drm.c')
-rw-r--r-- | src/gallium/winsys/drm/radeon/core/radeon_drm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/winsys/drm/radeon/core/radeon_drm.c b/src/gallium/winsys/drm/radeon/core/radeon_drm.c index dec7c06503..2f7fbc7242 100644 --- a/src/gallium/winsys/drm/radeon/core/radeon_drm.c +++ b/src/gallium/winsys/drm/radeon/core/radeon_drm.c @@ -171,6 +171,7 @@ struct pipe_buffer* radeon_buffer_from_handle(struct drm_api* api, radeon_buffer->base.screen = screen; radeon_buffer->base.usage = PIPE_BUFFER_USAGE_PIXEL; radeon_buffer->bo = bo; + radeon_buffer->ws = (struct radeon_winsys*)screen->winsys; return &radeon_buffer->base; } |