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
Showing
Please
register
or
sign in
to comment