blob: d2947ac38689f9f51ab0eded701a478197956fd8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--- /opt/cocos2d-x/cocos/renderer/ccShader_3D_PositionTex.vert 2017-03-22 15:13:34.000000000 -0400
+++ /tmp/ccShader_3D_PositionTex.vert 2017-04-21 06:42:24.205147609 -0400
@@ -1,5 +1,5 @@
-const char* cc3D_PositionTex_vert = R"(
+const char* cc3D_PositionTex_vert = STRINGIFY(
attribute vec4 a_position;
attribute vec2 a_texCoord;
@@ -12,7 +12,7 @@
TextureCoordOut = a_texCoord;
TextureCoordOut.y = 1.0 - TextureCoordOut.y;
}
-)";
+);
const char* cc3D_SkinPositionTex_vert = R"(
attribute vec3 a_position;
|