commit | 211fa2edc6290101d995dac7a21de54be3e0aab3 | [log] [tgz] |
---|---|---|
author | shannon.woods@transgaming.com <shannon.woods@transgaming.com@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Thu Feb 28 23:05:23 2013 +0000 |
committer | shannon.woods@transgaming.com <shannon.woods@transgaming.com@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Thu Feb 28 23:05:23 2013 +0000 |
tree | 7cf272148182db6ec1322f854b77bb0200a677eb | |
parent | ddd6c80eaf97858d74d2e2effca558051fac5481 [diff] |
Only allocate offscreen texture resources when we need them, not every time we reset the swapchain. This fixes a memory leak that caused the swapchain to initialize unbounded amounts of resources. TRAC #21929 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1858 736b8ea6-26fd-11df-bfd4-992fa37f6226