Jump to content
  • Advertisement
Sign in to follow this  

EGL Frame buffer config only once per application context?

This topic is 2077 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I've implemented an Extension precheck for my OpenGL ES 2.x application. To perform this I create a dummy window, with valid EGLConfig Frame buffer configuration, EGLSurface and EGLContext. After successfully extension precheck I destroy this window and try to create a new one. During destroy I successfully destroy and release the EGLContext and EGLWindowSurface.


The creation of the second window fails. If I try to create the EGLWindowSurface for this 2nd window I always get an EGL_BAD_CONFIG failure when I call eglCreateWindowSurface.


I've figured out that this failure doesn't occur if I reuse my EGLConfig frame buffer configuration instead of creating a new one on window initialization. Is it not possible to use multiple frame buffer configurations per application context?


Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!