fix early return value from resetSwapChain

Trac #22003 Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1381 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent 4f0af574
......@@ -145,6 +145,7 @@ bool Surface::resetSwapChain()
{
glDestroySwapChain(mSwapChain);
mSwapChain = NULL;
return false;
}
return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment