turning off automatic generation of BMP files for each image drawn.

r=kedl
This commit is contained in:
Jerry.Kirk%Nexwarecorp.com 1999-11-18 13:02:21 +00:00
Родитель 9e268e3cca
Коммит c62b7e52d6
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -480,7 +480,8 @@ NS_IMETHODIMP nsImagePh :: Draw(nsIRenderingContext &aContext, nsDrawingSurface
return NS_ERROR_FAILURE;
}
#if 1
#if 0
#ifdef DEBUG
/* Try to dump the image to a BMP file */
PR_LOG(PhGfxLog, PR_LOG_DEBUG,("nsImagePh::Draw2 Dump image to BMP\n"));
@ -492,6 +493,7 @@ NS_IMETHODIMP nsImagePh :: Draw(nsIRenderingContext &aContext, nsDrawingSurface
do_bmp(ptr, mImage.bpl/3, mImage.size.w, mImage.size.h);
#endif
#endif
}