diff options
author | Christoph Bumiller <[email protected]> | 2011-03-02 15:41:19 +0100 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2011-03-02 20:59:53 +0100 |
commit | dbdbbce066de9af2856c207f5de8be7f10c74597 (patch) | |
tree | aa61ac9757a6ffe52e26d1b07b1862ae39beb004 /src/gallium | |
parent | 908013b7370f8dfe20a1ab41b353968a60a9055d (diff) |
nv50: allow accidentally disabled IB index buffers again
Must have sneaked in from debugging.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_vbo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/nv50_vbo.c b/src/gallium/drivers/nv50/nv50_vbo.c index e94a2b6fa3d..85cf9bd8a61 100644 --- a/src/gallium/drivers/nv50/nv50_vbo.c +++ b/src/gallium/drivers/nv50/nv50_vbo.c @@ -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; |