diff options
author | Eric Anholt <anholt@FreeBSD.org> | 2006-05-16 10:08:58 -0700 |
---|---|---|
committer | Eric Anholt <anholt@FreeBSD.org> | 2006-05-16 10:10:33 -0700 |
commit | c2cd10e1fba0e75c0ed3db5d17211bddf7ab1e33 (patch) | |
tree | 868e507f85238f121bbb9503e61b08c499252837 | |
parent | 63a72e46fa20a4a4ba74efed386f6c3c167be5b5 (diff) |
Flag the 3D state as dirty when we draw textured video, which should help
rotation (I have other issues with rotation anyway).
-rw-r--r-- | src/i830_video.c | 6 |
1 files changed, 5 insertions, 1 deletions
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); |