Problem with eglChooseConfig() some attribute

This topic contains 2 replies, has 2 voices, and was last updated by  k2cdda 9 years, 6 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #29510

    k2cdda
    Member

    I use ES2 SDK in WinXP

     

    when i use EGL_ALPHA_SIZE or EGL_R/G/B_SIZE when call eglChooseConfig()

    (ex. EGL_ALPHA_SIZE, 8, EGL_RED_SIZE, 8 …)

     

    then 4th argument EGLint* num_config always set to 0

     

    but eglGetError() return EGL_SUCCESS

     

    and next eglCreateWindowSurface() failed (EGL_BAD_CONFIG) Cry

     

    Same eglChooseConfig and eglCreateWindowSurface code work well in ES 1.1 SDK

    k2cdda2008-04-16 07:38:15

    #32048

    ptj
    Member

    Hi k2cdda, can you please go to the directory where you’ve got the application and modify the pcviewer.cfg file by uncommenting the SGX535 and commenting out the SGX530 profile? This might solve your problem.

    #32049

    k2cdda
    Member

    thx Smile

Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.