Project

General

Profile

« Previous | Next » 

Revision 7f30ed38

Added by Leszek Koltunski almost 6 years ago

OIT: more bugfixes

View differences:

src/main/res/raw/normal_vertex_shader.glsl
19 19

  
20 20
precision lowp float;
21 21

  
22
#if __VERSION__ != 100
23 22
in vec3 a_Position;
24
#else
25
attribute vec3 a_Position;
26
#endif
27

  
28 23
uniform mat4 u_MVPMatrix;
29 24

  
30 25
//////////////////////////////////////////////////////////////////////////////////////////////
31 26

  
32 27
void main()
33 28
  {
34
  gl_Position = u_MVPMatrix*vec4( a_Position, 1.0);
29
  gl_Position = u_MVPMatrix * vec4(a_Position, 1.0);
35 30
  }

Also available in: Unified diff