title: OpenGL ES compile errors
body: <p>When trying to write these functions in eclipse with android NDK errors given that there are invalid arguments and such:</p>
  
  <pre><code>m_Display = eglGetDisplay(EGL_DEFAULT_DISPLAY);
  m_Surface = eglCreateWindowSurface(m_Display, lConfig,
          m_Application-&gt;window, NULL);
  </code></pre>
  
  <p>The errors:</p>
  
  <ol>
  <li><code>Invalid arguments ' Candidates are: void * eglGetDisplay(?)</code></li>
  <li><code>Type 'EGL_DEFAULT_DISPLAY' could not be resolved</code></li>
  <li><code>Invalid arguments ' Candidates are: void *
  eglCreateWindowSurface(void *, void *, ?, const int *)</code></li>
  </ol>
  
  <p>The tooltip eclipse gives when hovering over these functions shows 
  questionmarks as input variables. I think eclipse isn't finding some code it should be including but I don't know how to fix it.</p>