Hi All,
I'm trying to run opengl es 2.0 sample code on imx 51.i'm using the sample program which is given in the demo file(es20/lesson02_imx.c).
i used EGL_DEFAULT_DISPLAY as a display argument .
then it got iniialised using egl initialise.
But while using function eglChooseconfig, it returns error "EGL not initialised".
Can anyone clarify? is anyone working on opengl es in the imx 51?
did your eglInitlizae return EGL_TRUE instead of EGL_NOT_INITIALIZED?
- display = eglGetDisplay(EGL_DEFAULT_DISPLAY);
- eglInitialize(display, NULL, NULL);
- eglChooseconfig(display, NULL, &config, 1, &numConfigs);
did your eglInitlizae return EGL_TRUE instead of EGL_NOT_INITIALIZED?