summaryrefslogtreecommitdiff
path: root/src/radeon_macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/radeon_macros.h')
-rw-r--r--src/radeon_macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_macros.h b/src/radeon_macros.h
index 15d9d73a..b3b740f1 100644
--- a/src/radeon_macros.h
+++ b/src/radeon_macros.h
@@ -176,7 +176,7 @@ do { \
#define EMIT_OFFSET(reg, value, pPix, rd, wd) do { \
if (info->cs) { \
driver_priv = exaGetPixmapDriverPrivate(pPix); \
- OUT_ACCEL_REG((reg), 0); \
+ OUT_ACCEL_REG((reg), (value)); \
OUT_RELOC(driver_priv->bo, (rd), (wd)); \
} else { \
uint32_t _pix_offset; \