summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2009-04-24 16:14:51 -0700
committerIan Romanick <[email protected]>2009-04-24 16:30:13 -0700
commit302ba83116a24dbcd09a5f8d10edaaf862127873 (patch)
tree3e8d5c9654f0638434b1494bc66e9bcd07a1d42a /src
parent91eb8baaca21d24bfd3640c9f6b316610a7c5910 (diff)
intel: Initialize region ptr to prevent assertion in intel_region_reference
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/intel/intel_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_context.c b/src/mesa/drivers/dri/intel/intel_context.c
index 7fda7933733..84460327426 100644
--- a/src/mesa/drivers/dri/intel/intel_context.c
+++ b/src/mesa/drivers/dri/intel/intel_context.c
@@ -361,7 +361,7 @@ intel_update_renderbuffers(__DRIcontext *context, __DRIdrawable *drawable)
intel_region_release(&region);
if (buffers[i].attachment == __DRI_BUFFER_DEPTH_STENCIL) {
- struct intel_region *stencil_region;
+ struct intel_region *stencil_region = NULL;
intel_region_reference(&stencil_region, region);