diff options
author | Jerome Glisse <[email protected]> | 2009-05-25 16:05:45 +0200 |
---|---|---|
committer | Jerome Glisse <[email protected]> | 2009-05-25 16:05:45 +0200 |
commit | 9dee2f20a204f375eb4321092cf5dea6476c1c24 (patch) | |
tree | 6aad02f9ed17663cea45d030e76924eaaf4daced | |
parent | 714f5e689fb1a69142995260e3c8908c12407b47 (diff) |
radeon: on update drawable don't firevertices as it might be call from GetLock
To avoid locking bug we shouldn't not call firevertices from this path
as it's call from radeon get lock.
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_common.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_common.c b/src/mesa/drivers/dri/radeon/radeon_common.c index e2e0ba07a3b..466eda784ef 100644 --- a/src/mesa/drivers/dri/radeon/radeon_common.c +++ b/src/mesa/drivers/dri/radeon/radeon_common.c @@ -769,9 +769,7 @@ void radeon_draw_buffer(GLcontext *ctx, struct gl_framebuffer *fb) /* Set state we know depends on drawable parameters: */ - if (ctx->Driver.Scissor) - ctx->Driver.Scissor(ctx, ctx->Scissor.X, ctx->Scissor.Y, - ctx->Scissor.Width, ctx->Scissor.Height); + radeonUpdateScissor(ctx); radeon->NewGLState |= _NEW_SCISSOR; if (ctx->Driver.DepthRange) |