This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

OPENGL ES3.0 context using opengl es 3.0 emulator 1.4.1

Hi,

I have been trying to create opengl es 3.0 context using the latest 1.4.1 es 3 emulator. The example I am using is cube example of es 2 emulator. I have added the header "EGL/eglext.h" to use EGL_RENDERABLE_TYPE as EGL_OPENGL_ES3_BIT, and include GLES3/gl3.h as well. Also has set context attribute as EGL_CONTEXT_CLIENT_VERSION , 3.

EGLint aEGLAttributes[] = {
EGL_RED_SIZE,       8,
EGL_GREEN_SIZE,     8,
EGL_BLUE_SIZE,      8,
EGL_RENDERABLE_TYPE,  EGL_OPENGL_ES3_BIT ,

EGL_NONE

};

EGLint aEGLContextAttributes[] = {
EGL_CONTEXT_CLIENT_VERSION, 3,
EGL_NONE
};

The code is compiling correctly but giving error as :

No EGL configurations were returned.

Tried to set not RGB size and RGB size as 565. But same error.

I am using windows 7 with visual studio 2012. Same code is working fine for OPENGL ES 2.0 context using same OPENGLES 3.0 emulator. Do we need to set anything else?

Thanks.

Parents Reply Children