| 
                    
                 | 
                              
                              
                
                    help, urgent! - eglChooseConfig works while linking with libGLES_CM but fails while linking with libEGL.
                     
                         
                    
                 
               | 
              
          
        
        
        
         
        
        
        
         
            
              | 
                
                 12/21/2010 10:11 AM 
                post79571 
               | 
                            
                              
                help, urgent! - eglChooseConfig works while linking with libGLES_CM but fails while linking with libEGL.
                     
                         
                    
                 
                After I upgrade my program to ES2.0, eglChooseConfig always return 0 number of config, it means it cannot find a proper 
config.
When I digged into I found more info - in the original version, I link the program with libGLES_CM, it works well. But 
after I modify it to link with libEGL aand libGLESv2,  eglChooseConfig always fail to find a proper config.
I run the app in VMWare+QNX6.5.
Looking forward you help to figure out the problem, I will have a demo in these couple of days.
Thanks.
Pieces of code are in the attachment. 
              
                  
                 
               | 
            
            
              | 
                
                
               | 
            
          
            
              |               
                
               |