republicanrules78
New member
Hi,
I want to do a OpenGL ES application on Android 2.2 platform, but I do not have any real mobile device with android 2.2. So I choose the simulator, but it seems like that the simulator does not support OpenGL ES 2.0.
eglChooseConfig always return 0 while we get the config on simulator, The attributes are:
private static int[] s_configAttribs2 =
{
EGL10.EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
EGL10.EGL_RED_SIZE, 5,
EGL10.EGL_GREEN_SIZE, 6,
EGL10.EGL_BLUE_SIZE, 5,
EGL10.EGL_DEPTH_SIZE, 1,
EGL10.EGL_NONE
};
So it is true that the simulator can not support OpenGL ES 2.0 or may be something wrong with my code?
Thanks & Best Regards,
Bao
I want to do a OpenGL ES application on Android 2.2 platform, but I do not have any real mobile device with android 2.2. So I choose the simulator, but it seems like that the simulator does not support OpenGL ES 2.0.
eglChooseConfig always return 0 while we get the config on simulator, The attributes are:
private static int[] s_configAttribs2 =
{
EGL10.EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
EGL10.EGL_RED_SIZE, 5,
EGL10.EGL_GREEN_SIZE, 6,
EGL10.EGL_BLUE_SIZE, 5,
EGL10.EGL_DEPTH_SIZE, 1,
EGL10.EGL_NONE
};
So it is true that the simulator can not support OpenGL ES 2.0 or may be something wrong with my code?
Thanks & Best Regards,
Bao