You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

15 lines
244 B

#if !defined(GL_ES) && __VERSION__ == 120
#define mediump
#endif
#if defined(GL_ES) || __VERSION__ == 120
#define in attribute
#endif
in mediump vec4 position;
uniform mediump mat4 matrix;
void main() {
gl_Position = matrix*position;
}