mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-16 20:10:23 +01:00
intel: Initialize region ptr to prevent assertion in intel_region_reference
This commit is contained in:
parent
91eb8baaca
commit
302ba83116
1 changed files with 1 additions and 1 deletions
|
|
@ -361,7 +361,7 @@ intel_update_renderbuffers(__DRIcontext *context, __DRIdrawable *drawable)
|
|||
intel_region_release(®ion);
|
||||
|
||||
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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue