OpenGl - called unimplemented OpenGL ES API

TerryWattsTerryWatts AUBeta
edited April 2013 in Xamarin.Android

I'm new to OpenGl and I'm trying to set up a play program for learning.

I've referenced OpenTk-1.0 in the program and have a "using OpenTK.Graphics.ES20;"
The GlView is inherited from AndroidGameView and I have call Run() in OnLoad().

When I call any function, say GL.CreateShader( All.VertexShade ) I get the error "called unimplemented OpenGL ES API"

Does anyone know what is happening?

Thanks in advance
Terry

Ps:
Testing on Samsung Galaxy S2.

Posts

  • TerryWattsTerryWatts AUBeta

    Found the problem.

    In my GlView constructor I had to include "ContextRenderingApi = GLVersion.ES2;"

Sign In or Register to comment.