summaryrefslogtreecommitdiff
path: root/src/r600_textured_videofuncs.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-08-25 18:05:43 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-08-25 18:05:43 -0400
commit2e83cca8d7efaf1a6836cfb9ea5893fd9d70175f (patch)
tree0921618b5cc692758a7a1dddaac887ca2c79d58d /src/r600_textured_videofuncs.c
parent65852de027989c105246fa4e4eed432f29525a22 (diff)
r6xx/r7xx: more cs exa wip
Diffstat (limited to 'src/r600_textured_videofuncs.c')
-rw-r--r--src/r600_textured_videofuncs.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/r600_textured_videofuncs.c b/src/r600_textured_videofuncs.c
index 9cbfea43..631a40cc 100644
--- a/src/r600_textured_videofuncs.c
+++ b/src/r600_textured_videofuncs.c
@@ -254,8 +254,6 @@ R600DisplayTexturedVideo(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv)
#endif
r600_cp_start(pScrn);
- if (!r600_vb_get(pScrn))
- return;
/* Init */
start_3d(pScrn, accel_state->ib);
@@ -587,8 +585,7 @@ R600DisplayTexturedVideo(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv)
if (((accel_state->vb_index + 3) * 16) > accel_state->vb_total) {
R600DoneTexturedVideo(pScrn);
- accel_state->ib = RADEONCPGetBuffer(pScrn);
- r600_vb_get(pScrn);
+ r600_cp_start(pScrn);
}
vb = (pointer)((char*)accel_state->vb_ptr+accel_state->vb_index*16);