draw: vertex fetch can be validated too early leading to an assertion... disable

This commit is contained in:
Keith Whitwell 2008-03-25 18:15:58 +00:00
parent cbec008491
commit 05a4ecdec2

View file

@ -314,7 +314,11 @@ static fetch_func get_fetch_func( enum pipe_format format )
return NULL; /* not sure why this is needed */
default:
assert(0);
/* This can get hit because draw-state-validation is too eager,
and can jump in here validating stuff before the state tracker has set
up everything.
*/
/* assert(0); */
return NULL;
}
}