mirror of https://github.com/axmolengine/axmol.git
Merge pull request #13445 from ZhangMenghe/v3-shader
[ci skip] Fix shader position abnormal
This commit is contained in:
commit
f54791c13d
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue