Source Code Project Mantis - FSSCP
View Issue Details
0001990FSSCPgraphicspublic2009-09-11 05:532009-12-21 06:31
ReporterFUBAR-BDHR 
Assigned ToHery 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version3.6.11 
Target VersionFixed in Version3.6.11 
Summary0001990: Unable to release environment map render target
DescriptionBasically this happens if you play certain missions after each other. Seemed pretty random but I have been able to reproduce it every time in a TBP campaign. FH2260 intro followed by M1. As soon as M1 starts loading this warning pops up. Attaching fs2_open.log and call stack.

Kara walked me through getting additional info. I put a breakpoint at 3488 of freespace.cpp. clear_render_targets is 1 at line 1711 in bmpman.cpp but the expression still evaluates to true resulting in 0 being returned.
Additional Information3.6.11 r5591. I've seen it in other mods besides TBP as well. Will happen playing missions from the tech room as well as campaigns.
TagsNo tags attached.
Attached Filesrar MRT.rar (131,440) 2009-09-11 05:53
http://scp.indiegames.us/mantis/file_download.php?file_id=1326&type=bug
patch 1990_render_targets.patch (608) 2009-12-18 19:46
http://scp.indiegames.us/mantis/file_download.php?file_id=1383&type=bug

Notes
(0011174)
FUBAR-BDHR   
2009-09-11 05:55   
Almost forgot. be->type = 17 at line 1711 as well.
(0011442)
Hery   
2009-12-18 19:47   
Apparently, there was a mistake in check whether it is possible to release render target.
Patch attached.
(0011453)
Hery   
2009-12-21 06:31   
Patch committed.

Issue History
2009-09-11 05:53FUBAR-BDHRNew Issue
2009-09-11 05:53FUBAR-BDHRFile Added: MRT.rar
2009-09-11 05:55FUBAR-BDHRNote Added: 0011174
2009-11-17 12:14HeryStatusnew => assigned
2009-11-17 12:14HeryAssigned To => Hery
2009-12-18 19:46HeryFile Added: 1990_render_targets.patch
2009-12-18 19:47HeryNote Added: 0011442
2009-12-21 06:31HeryNote Added: 0011453
2009-12-21 06:31HeryStatusassigned => resolved
2009-12-21 06:31HeryFixed in Version => 3.6.11
2009-12-21 06:31HeryResolutionopen => fixed