Merge pull request #548 from asmaloney/more_fixes

More fixes
This commit is contained in:
Thomas Fischer 2014-03-15 15:14:11 +01:00
commit 022b15720b
4 changed files with 8 additions and 4 deletions

View file

@ -81,7 +81,7 @@ void GFXCopyPixels( GFXFormat fromFormat, U32 fromWidth, U32 fromHeight, U8* fr
{
if( fromFormat == toFormat
&& fromWidth == toWidth
&& fromHeight == fromHeight )
&& fromHeight == toHeight )
dMemcpy( toData, fromData, fromWidth * fromHeight * GFXFormatInfo( fromFormat ).getBytesPerPixel() );
else
{