*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1016 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2007-05-24 23:02:18 +00:00
parent 5781854733
commit 5148379589
+2 -1
View File
@@ -51,8 +51,9 @@ void screenshot(char *imagepath)
uchar *dst = (uchar *)image->pixels;
loopi(scr_h)
{
memcpy(dst, &tmp[3*scr_w*i], 3*scr_w);
memcpy(dst, &tmp[3*scr_w*(scr_h-i-1)], 3*scr_w);
endianswap(dst, 3, scr_w);
dst += image->pitch;
}
delete[] tmp;
if(!imagepath[0])