issue #1486: Commenting one line to avoid something like mosaic in 'CCControlExtensionTest', especially the display of 'huePickerBackground.png' when in 800*480 window size with 480*320 design resolution and hd(960*640) resources.

This commit is contained in:
James Chen 2012-10-14 22:03:23 +08:00
parent 2c670a9efc
commit 0e76827b7e
1 changed files with 4 additions and 1 deletions

View File

@ -80,7 +80,10 @@ bool CCControlColourPicker::init()
// MIPMAP
// ccTexParams params = {GL_LINEAR_MIPMAP_LINEAR, GL_LINEAR, GL_REPEAT, GL_REPEAT};
spriteSheet->getTexture()->setAliasTexParameters();
/* Comment next line to avoid something like mosaic in 'CCControlExtensionTest',
especially the display of 'huePickerBackground.png' when in 800*480 window size with 480*320 design resolution and hd(960*640) resources.
*/
// spriteSheet->getTexture()->setAliasTexParameters();
// spriteSheet->getTexture()->setTexParameters(&params);
// spriteSheet->getTexture()->generateMipmap();