Merge pull request #1 from zachsaw/master

Update from original
Removed AllocateTextures from On***SizeChanged.
Merge pull request #2 from Shiandow/master

Oops