diff options
author | Vadim Girlin <[email protected]> | 2011-07-04 18:30:41 +0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2011-07-05 15:57:08 -0400 |
commit | 971e1b743eeaa4f1fc5af4c0a3af78422aaa7b24 (patch) | |
tree | 26ff046462685ee5c250245bcc5a044dccccad47 /src/gallium/winsys/r600 | |
parent | fbe9d4261f94b8a22ae04dccb8201a6762b66d40 (diff) |
r600g: fix bo map usage flags in r600_query_begin
Diffstat (limited to 'src/gallium/winsys/r600')
-rw-r--r-- | src/gallium/winsys/r600/drm/r600_hw_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/r600/drm/r600_hw_context.c b/src/gallium/winsys/r600/drm/r600_hw_context.c index e3fb6b18394..81e26f61158 100644 --- a/src/gallium/winsys/r600/drm/r600_hw_context.c +++ b/src/gallium/winsys/r600/drm/r600_hw_context.c @@ -1752,7 +1752,7 @@ void r600_query_begin(struct r600_context *ctx, struct r600_query *query) u32 *results; int i; - results = r600_bo_map(ctx->radeon, query->buffer, PB_USAGE_DONTBLOCK | PB_USAGE_CPU_WRITE, NULL); + results = r600_bo_map(ctx->radeon, query->buffer, PB_USAGE_CPU_WRITE, NULL); if (results) { memset(results + query->num_results, 0, ctx->max_db * 4 * 4); |