summaryrefslogtreecommitdiff
path: root/src/i830_rotate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/i830_rotate.c')
-rw-r--r--src/i830_rotate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i830_rotate.c b/src/i830_rotate.c
index 425eeeff..aee04daf 100644
--- a/src/i830_rotate.c
+++ b/src/i830_rotate.c
@@ -576,7 +576,7 @@ I830UpdateRotate (ScreenPtr pScreen,
OUT_RING(MI_FLUSH | MI_WRITE_DIRTY_STATE | MI_INVALIDATE_MAP_CACHE);
OUT_RING(0x00000000);
/* draw rect */
- OUT_RING(STATE3D_DRAWING_RECTANGLE);
+ OUT_RING(_3DSTATE_DRAW_RECT_CMD);
OUT_RING(0x00000000); /* flags */
OUT_RING(0x00000000); /* ymin, xmin */
OUT_RING((pScrn->virtualX - 1) | (pScrn->virtualY - 1) << 16); /* ymax, xmax */
@@ -584,7 +584,7 @@ I830UpdateRotate (ScreenPtr pScreen,
OUT_RING(MI_NOOP);
/* front buffer */
- OUT_RING(STATE3D_BUFFER_INFO);
+ OUT_RING(_3DSTATE_BUF_INFO_CMD);
OUT_RING(0x03800000 | (((pI830->displayWidth * pI830->cpp) / 4) << 2));
if (I830IsPrimary(pScrn))
OUT_RING(pI830->FrontBuffer.Start);