diff options
author | Ben Skeggs <[email protected]> | 2006-12-23 23:03:55 +1100 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2006-12-23 23:03:55 +1100 |
commit | ae8d8d132600cc544b7295c9554e6531bdbd8094 (patch) | |
tree | 7efcf3ea7fd2050b629fc34df3ba45ad1a20ed48 /src/mesa/drivers/dri/nouveau/nouveau_buffers.c | |
parent | 1dd6759c059e054a9a2279d2339a5bd8bb83f6b4 (diff) |
nouveau: Don't fill nrb->dPriv for private buffers
Diffstat (limited to 'src/mesa/drivers/dri/nouveau/nouveau_buffers.c')
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nouveau_buffers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_buffers.c b/src/mesa/drivers/dri/nouveau/nouveau_buffers.c index f30e59323d2..0a5efa8c2e2 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_buffers.c +++ b/src/mesa/drivers/dri/nouveau/nouveau_buffers.c @@ -152,7 +152,7 @@ nouveau_renderbuffer_storage(GLcontext *ctx, struct gl_renderbuffer *rb, /* If this buffer isn't statically alloc'd, we may need to ask the * drm for more memory */ - if (!nrb->map && (rb->Width != width || rb->Height != height)) { + if (!nrb->dPriv && (rb->Width != width || rb->Height != height)) { GLuint pitch; /* align pitches to 64 bytes */ |