- Fixed: When FMultiPatchTexture::MakeTexture() needed to work in RGB

colorspace, it didn't zero out the temporary buffer.


SVN r1547 (trunk)
This commit is contained in:
Randy Heit 2009-04-16 02:02:56 +00:00
commit 659be956de
3 changed files with 15 additions and 10 deletions

View file

@ -339,8 +339,8 @@ static const CopyFunc copyfuncs[][9]={
//
//===========================================================================
bool ClipCopyPixelRect(int texwidth, int texheight, int &originx, int &originy,
const BYTE *&patch, int &srcwidth, int &srcheight,
int &pstep_x, int &pstep_y, int rotate)
const BYTE *&patch, int &srcwidth, int &srcheight,
int &pstep_x, int &pstep_y, int rotate)
{
int pixxoffset;
int pixyoffset;