From c2cd10e1fba0e75c0ed3db5d17211bddf7ab1e33 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 16 May 2006 10:08:58 -0700 Subject: [PATCH] Flag the 3D state as dirty when we draw textured video, which should help rotation (I have other issues with rotation anyway). --- src/i830_video.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/i830_video.c b/src/i830_video.c index e07a1180..a41db5c7 100644 --- a/src/i830_video.c +++ b/src/i830_video.c @@ -2195,7 +2195,11 @@ I915DisplayVideoTextured(ScrnInfoPtr pScrn, I830PortPrivPtr pPriv, int id, break; } - /* XXX: Dirty dri/rotate state */ + /* Tell the rotation code that we have stomped its invariant state by + * setting a high bit. We don't use any invariant 3D state for video, so we + * don't have to worry about it ourselves. + */ + *pI830->used3D |= 1 << 30; BEGIN_LP_RING(44);