Graphics with OpenGL: eglCreateWindowSurface Error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Graphics with OpenGL: eglCreateWindowSurface Error

492 Views
Mohit_Rai
Contributor I

Hello,

I was trying to show images and play small video. So i refer the NXP application note(AN4274). But, while compiling the code, i am getting error

InitOGLES: Assertion `eglGetError()==EGL_SUCCESS' failed.
Aborted (core dumped

After execution of this following line

"glesSurface = eglCreateWindowSurface(glesDisplay,configs,open("/dev/fb0",O_RDWR), NULL); "

Please reply me, where i am going wrong.

Thanks in advance.

 

 

 

0 Kudos
1 Reply

482 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Mohit_Rai,

 

You did not mention which BSP are using and which board?, I see this error before with MX6QP but it was because the user don´t have the proper image to work with it, so tell us which BSP are you using.

 

regards

 

0 Kudos