Henri Verbeet <hverb...@gmail.com> 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.  Bindings to that buffer in other
  contexts and other threads are not affected, but attempting to use
  a deleted buffer in another thread produces undefined results,
  including but not limited to possible GL errors and rendering
  corruption. Using a deleted buffer in another context or thread may
  not, however, result in program termination.

  -- OGL 4.0 spec

-tom
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to