axmol/tests/cpp-tests/Classes/ShaderTest/ShaderTest.vsh.h

12 lines
210 B
C
Raw Normal View History

2014-05-10 02:48:11 +08:00
#define STRINGIFY(A) #A
2014-05-10 03:03:09 +08:00
static const char* shadertestvsh = STRINGIFY(
2014-05-10 02:48:11 +08:00
attribute vec4 a_position;
void main()
{
gl_Position = CC_MVPMatrix * a_position;
}
);