commit 846a9938dcb6d52c94e5fa84b00eba3c66c5cc93 Author: Pierre Willenbrock Date: Fri Dec 12 21:18:23 2008 +0100 Don't steal renderbuffer from caller in intel_miptree_create_for_region diff --git a/src/mesa/drivers/dri/intel/intel_mipmap_tree.c b/src/mesa/drivers/dri/intel/intel_mipmap_tree.c index c677ddd..bf1c3f0 100644 --- a/src/mesa/drivers/dri/intel/intel_mipmap_tree.c +++ b/src/mesa/drivers/dri/intel/intel_mipmap_tree.c @@ -163,7 +163,7 @@ intel_miptree_create_for_region(struct intel_context *intel, mt->pitch = region->pitch; #endif - mt->region = region; + intel_region_reference(&mt->region, region); return mt; }