aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/radeon/radeon_common.c
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2011-10-28 15:56:15 -0400
committerKristian Høgsberg <[email protected]>2011-11-02 11:16:01 -0400
commit03855bc2accbeb508458f70bdbdcef292672b2b8 (patch)
tree0cd962dc423a4caeb9aa2a1b65a789c79f71a65e /src/mesa/drivers/dri/radeon/radeon_common.c
parenta2ea34d70507ffb6b7277b4612ae3bc1ca582a60 (diff)
dri: Remove dri2.enabled flag
DRI2 is always enabled now.
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_common.c')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_common.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_common.c b/src/mesa/drivers/dri/radeon/radeon_common.c
index cc3fed8623d..2ef3fafee08 100644
--- a/src/mesa/drivers/dri/radeon/radeon_common.c
+++ b/src/mesa/drivers/dri/radeon/radeon_common.c
@@ -466,9 +466,6 @@ void radeon_viewport(struct gl_context *ctx, GLint x, GLint y, GLsizei width, GL
void (*old_viewport)(struct gl_context *ctx, GLint x, GLint y,
GLsizei w, GLsizei h);
- if (!driContext->driScreenPriv->dri2.enabled)
- return;
-
if (ctx->DrawBuffer->Name == 0) {
if (radeon->is_front_buffer_rendering) {
ctx->Driver.Flush(ctx);