Jump to content
  • Advertisement
Sign in to follow this  
Eldritch

OpenGL Problems with eglCreateWindowSurface() on HTC Touch Diamond

This topic is 2636 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

Hello! I am trying to get OpenGL to work on my HTC Touch Diamond, but the function eglCreateWindowSurface() returns EGL_BAD_MATCH. Here are the attributes that I am using (according to glbenchmark.com, they are correct for this device): const EGLint cfg_attribs[] = { EGL_RED_SIZE, 5, EGL_GREEN_SIZE, 6, EGL_BLUE_SIZE, 5, EGL_ALPHA_SIZE, 0, EGL_DEPTH_SIZE, 16, EGL_STENCIL_SIZE, 0, EGL_SURFACE_TYPE, EGL_WINDOW_BIT, EGL_NONE, EGL_NONE }; Anybody have any idea what can be wrong? It works perfectly on another phone (Xperia X1) using the same params (has the same graphic chip), so it is not the OpenGL code itself.

Share this post


Link to post
Share on other sites
Advertisement
I have the same problem on Xperia Play...

When returing from sleep mode I get EGL_BAD_MATCH from eglCreateWindowSurface...

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!