diff options
author | Xiang, Haihao <[email protected]> | 2008-03-06 13:20:57 +0800 |
---|---|---|
committer | Xiang, Haihao <[email protected]> | 2008-03-06 13:23:27 +0800 |
commit | d76545de5730f52328a81b8371d3b08cd7511e05 (patch) | |
tree | 37b1e3e88a487df956201b5a004f282e5a053c53 /src/mesa | |
parent | 771ba666290150dcebeefa5d6bbf4254f95c1c26 (diff) |
i965: Fix double free issue to pass glean/maskedClear test
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_tex.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_tex.c b/src/mesa/drivers/dri/i965/brw_tex.c index ef14b8e89f8..258c6260fb9 100644 --- a/src/mesa/drivers/dri/i965/brw_tex.c +++ b/src/mesa/drivers/dri/i965/brw_tex.c @@ -77,6 +77,7 @@ void brw_FrameBufferTexDestroy( struct brw_context *brw ) if (brw->intel.frame_buffer_texobj != NULL) brw->intel.ctx.Driver.DeleteTexture( &brw->intel.ctx, brw->intel.frame_buffer_texobj ); + brw->intel.frame_buffer_texobj = NULL; } /** |