mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 16:12:40 +08:00
Activate FIX_ARTIFACTS_BY_STRECHING_TEXEL by default
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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/>
|
||||
|
||||
Reference in New Issue
Block a user