Activate FIX_ARTIFACTS_BY_STRECHING_TEXEL by default

This commit is contained in:
pandamicro
2017-02-15 14:27:10 +08:00
parent a64aa19375
commit ff569e8a45
2 changed files with 3 additions and 5 deletions
+2 -4
View File
@@ -154,9 +154,8 @@ JS.mixin(EventTarget.prototype, {
/**
* !#en
* Register an callback of a specific event type on the EventTarget.
* This method is merely an alias to addEventListener.
* !#zh
* 注册事件目标的特定事件类型回调,仅仅是 addEventListener 的别名。
* 注册事件目标的特定事件类型回调。
*
* @method on
* @param {String} type - A string representing the event type to listen for.
@@ -213,9 +212,8 @@ JS.mixin(EventTarget.prototype, {
/**
* !#en
* Removes the callback previously registered with the same type, callback, target and or useCapture.
* This method is merely an alias to removeEventListener.
* !#zh
* 删除之前与同类型,回调,目标或 useCapture 注册的回调,仅仅是 removeEventListener 的别名。
* 删除之前与同类型,回调,目标或 useCapture 注册的回调。
*
* @method off
* @param {String} type - A string representing the event type being removed.
+1 -1
View File
@@ -1661,7 +1661,7 @@ cc.macro = {
*
* @property {Number} FIX_ARTIFACTS_BY_STRECHING_TEXEL
*/
FIX_ARTIFACTS_BY_STRECHING_TEXEL: 0,
FIX_ARTIFACTS_BY_STRECHING_TEXEL: 1,
/**
* Position of the FPS (Default: 0,0 (bottom-left corner))<br/>