summaryrefslogtreecommitdiff
path: root/src/r600_exa.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-08-12 12:59:18 +1000
committerDave Airlie <airlied@redhat.com>2010-08-12 12:59:18 +1000
commitfd686668289258ffaf6b81057545e50612aac6a8 (patch)
tree4417f0941e90838e28a9a16c22834cba5231688c /src/r600_exa.c
parent5a9865d90c23c4ce0f46d380ea9119eac87a99eb (diff)
radeon: fixup non-kms build
Diffstat (limited to 'src/r600_exa.c')
-rw-r--r--src/r600_exa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/r600_exa.c b/src/r600_exa.c
index 911dba08..d6e98ff7 100644
--- a/src/r600_exa.c
+++ b/src/r600_exa.c
@@ -72,7 +72,6 @@ R600SetAccelState(ScrnInfoPtr pScrn,
{
RADEONInfoPtr info = RADEONPTR(pScrn);
struct radeon_accel_state *accel_state = info->accel_state;
- int ret;
if (src0) {
memcpy(&accel_state->src_obj[0], src0, sizeof(struct r600_accel_object));
@@ -127,6 +126,7 @@ R600SetAccelState(ScrnInfoPtr pScrn,
accel_state->ps_size = 512;
#if defined(XF86DRM_MODE)
if (info->cs) {
+ int ret;
accel_state->vs_mc_addr = vs_offset;
accel_state->ps_mc_addr = ps_offset;