13 lines
174 B
GLSL
13 lines
174 B
GLSL
#version {VERSION}
|
|
|
|
#if __VERSION__ == 120
|
|
attribute vec2 aVertexPosition;
|
|
#else
|
|
in vec2 aVertexPosition;
|
|
#endif
|
|
|
|
void main()
|
|
{
|
|
gl_Position = vec4(aVertexPosition, 0, 1);
|
|
}
|