Re: [Mesa-dev] [PATCH] r600g: Don't blindly unmap NULL->size.

2010-08-16 Thread tom fogal
Henri Verbeet writes: > Should it ever be valid to destroy a bo that's still mapped in the > first place though? In 2.9.2: If a buffer object is deleted while it is bound, all bindings to that object in the current context (i.e. in the thread that called DeleteBuffers) are reset to zero.

[Mesa-dev] [PATCH] r600g: Don't blindly unmap NULL->size.

2010-08-16 Thread Henri Verbeet
There may actually be something mapped in that range, especially for large buffers like e.g. the GL Drawable. Should it ever be valid to destroy a bo that's still mapped in the first place though? --- src/gallium/winsys/r600/drm/radeon_bo.c |4 +++- 1 files changed, 3 insertions(+), 1 deletion