nv50: allow accidentally disabled IB index buffers again

Must have sneaked in from debugging.
This commit is contained in:
Christoph Bumiller
2011-03-02 15:41:19 +01:00
parent 908013b737
commit dbdbbce066
+1 -1
View File
@@ -536,7 +536,7 @@ nv50_draw_elements(struct nv50_context *nv50, boolean shorten,
nv50->state.index_bias = index_bias;
}
if (nouveau_resource_mapped_by_gpu(nv50->idxbuf.buffer) && 0) {
if (nouveau_resource_mapped_by_gpu(nv50->idxbuf.buffer)) {
struct nv04_resource *res = nv04_resource(nv50->idxbuf.buffer);
unsigned offset = res->offset + nv50->idxbuf.offset;