r600: don't setup hardware state if TFP

if we have a BO here it means TFP and we should have set it
up already.

tested by b0le on #radeon
This commit is contained in:
Dave Airlie
2009-09-09 15:02:16 +10:00
parent 8947cf6728
commit 5aaa45de4c
@@ -608,6 +608,10 @@ static void setup_hardware_state(context_t *rmesa, struct gl_texture_object *tex
int firstlevel = t->mt ? t->mt->firstLevel : 0;
GLuint uTexelPitch, row_align;
if ( t->bo ) {
return GL_TRUE;
}
firstImage = t->base.Image[0][firstlevel];
if (!t->image_override) {