From 88a5bd6aa4dbcb93ea397ad804d1fafedd864bab Mon Sep 17 00:00:00 2001 From: pandamicro Date: Thu, 17 May 2018 23:54:37 +0800 Subject: [PATCH] Fix Texture filter mode update issue (#2703) --- cocos2d/core/assets/CCTexture2D.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cocos2d/core/assets/CCTexture2D.js b/cocos2d/core/assets/CCTexture2D.js index 547c6b8c40..30f59e71b5 100644 --- a/cocos2d/core/assets/CCTexture2D.js +++ b/cocos2d/core/assets/CCTexture2D.js @@ -172,8 +172,8 @@ const Filter = cc.Enum({ }); const FilterIndex = { - GL_NEAREST: 0, - GL_LINEAR: 1, + 9728: 0, // GL_NEAREST + 9729: 1, // GL_LINEAR }; let _emptyOpts = {};