Jump to content
  • Advertisement
Sign in to follow this  

EGL Frame buffer config only once per application context?

This topic is 2155 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!