3 Replies Latest reply on May 29, 2010 8:57 AM by EmyLee

    some problems  at OpenGL ES Emulator

    k2ymg

      Hello.

      Although I am using the OpenGL ES Emulator v1.4, there are some problems.

      1. GL_INVALID_OPERATION occurs by eglGetConfigs.

      // ...initialization succeeded..
      eglMakeCurrent(display, surface, surface, context); // success
      e = glGetError(); // return GL_NO_ERROR
      eglGetConfigs(display, NULL, 0, &num_configs);
      e = glGetError(); // return GL_INVALID_OPERATION

      debugger output is:
      ES Emulator error: GL error: GL_INVALID_OPERATION - found at the end of glGetError


      2. eglGetCurrentSurrace does not working.

      // ...initialization succeeded...
      eglMakeCurrent(display, surface, surface, context); // success
      d = eglGetCurrentDisplay(); // ok
      s1 = eglGetCurrentSurface(EGL_DRAW); // return zero
      s2 = eglGetCurrentSurface(EGL_READ); // return zero
      c = eglGetCurrentContext(); // ok