Add missing DBG calls in dtors.
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Axel Davy <axel.davy@ens.fr>
void
NineBuffer9_dtor( struct NineBuffer9 *This )
{
+ DBG("This=%p\n", This);
+
if (This->maps) {
while (This->nmaps) {
NineBuffer9_Unlock(This);
{
struct pipe_context *pipe = This->base.device->pipe;
+ DBG("This=%p\n", This);
+
if (This->pq) {
if (This->state == NINE_QUERY_STATE_RUNNING)
pipe->end_query(pipe, This->pq);
void
NineResource9_dtor( struct NineResource9 *This )
{
+ DBG("This=%p\n", This);
+
if (This->pdata) {
util_hash_table_foreach(This->pdata, ht_guid_delete, NULL);
util_hash_table_destroy(This->pdata);
void
NineSurface9_dtor( struct NineSurface9 *This )
{
+ DBG("This=%p\n", This);
+
if (This->transfer)
NineSurface9_UnlockRect(This);
{
unsigned l;
+ DBG("This=%p\n", This);
+
if (This->surfaces) {
/* The surfaces should have 0 references and be unbound now. */
for (l = 0; l <= This->base.base.info.last_level; ++l)
void
NineVertexDeclaration9_dtor( struct NineVertexDeclaration9 *This )
{
+ DBG("This=%p\n", This);
+
FREE(This->decls);
FREE(This->elems);
FREE(This->usage_map);