title: ios opengl 3.0 does not compile version
body: <p>I am trying out opengl 3.0 in xcode 5</p>
  
  <p>this is how I compile the shader</p>
  
  <pre><code>*shader = glCreateShader(type);
  glShaderSource(*shader, 1, &amp;source, NULL);
  glCompileShader(*shader);
  </code></pre>
  
  <p>this is my shader</p>
  
  <pre><code>#version 140
  attribute vec4 position; 
  attribute vec4 color;
  
  varying vec4 colorVarying;
  
  attribute vec2 TexCoordIn;
  varying vec2 TexCoordOut;
  out int rowIndex;
  out int colIndex;
  
  void main(void) { 
      colorVarying = color;
      gl_Position = position;
      TexCoordOut = TexCoordIn;
  }
  </code></pre>
  
  <p>i try:</p>
  
  <pre><code>glGetString(GL_SHADING_LANGUAGE_VERSION);
  </code></pre>
  
  <p>returns 235, which is expected. but i get </p>
  
  <pre><code>ERROR: 0:1: '' :  version '140' is not supported
  </code></pre>
  
  <p>from the compile log, I have tried many version numbers and only 100 worked. then i get </p>
  
  <pre><code>Invalid qualifiers 'out' in global variable context
  </code></pre>
  
  <p>what's wrong? I am running this on the iphone 4 64bit simulator, on my mac air with Intel HD Graphics 3000 384 MB graphics</p>