Skip to content

Commit 7d04cbc

Browse files
committed
Remove cc.RETINA_DISPLAY_SUPPORT deprecated macro.
1 parent 86d8474 commit 7d04cbc

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

cocos2d/core/platform/CCConfig.js

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -165,23 +165,6 @@ cc.TEXTURE_ATLAS_USE_VAO = 0;
165165
*/
166166
cc.TEXTURE_NPOT_SUPPORT = 0;
167167

168-
/**
169-
* <p>
170-
* If enabled, cocos2d supports retina display.<br/>
171-
* For performance reasons, it's recommended disable it in games without retina display support, like iPad only games.<br/>
172-
* <br/>
173-
* To enable set it to 1. Use 0 to disable it. Enabled by default.<br/>
174-
* <br/>
175-
* This value governs only the PNG, GIF, BMP, images.<br/>
176-
* This value DOES NOT govern the PVR (PVR.GZ, PVR.CCZ) files. If NPOT PVR is loaded, then it will create an NPOT texture ignoring this value.<br/>
177-
* To modify it, in Web engine please refer to CCConfig.js, in JSB please refer to CCConfig.h
178-
* </p>
179-
* @constant
180-
* @type {Number}
181-
* @deprecated This value will be removed in 1.1 and NPOT textures will be loaded by default if the device supports it.
182-
*/
183-
cc.RETINA_DISPLAY_SUPPORT = 1;
184-
185168
/**
186169
* <p>
187170
* It's the suffix that will be appended to the files in order to load "retina display" images.<br/>

0 commit comments

Comments
 (0)