From 9fbc45171e78d763e41641b680376fd47dfc3611 Mon Sep 17 00:00:00 2001 From: ZhangMenghe Date: Tue, 18 Aug 2015 17:07:08 +0800 Subject: [PATCH] Fix shader position abnormal --- tests/js-tests/resjs/Shaders/example_ColorBars.vsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/js-tests/resjs/Shaders/example_ColorBars.vsh b/tests/js-tests/resjs/Shaders/example_ColorBars.vsh index ccaabbf4e3..ab26a39c04 100644 --- a/tests/js-tests/resjs/Shaders/example_ColorBars.vsh +++ b/tests/js-tests/resjs/Shaders/example_ColorBars.vsh @@ -11,6 +11,6 @@ varying vec2 v_texCoord; void main() { - gl_Position = (CC_PMatrix * CC_MVMatrix) * a_position; + gl_Position = CC_PMatrix * a_position; v_texCoord = a_texCoord; } \ No newline at end of file