wflinfo returns wrong information for gles on glx platform
Created by: dcbaker
instead of returning the correct information or an error, it returns the information for non-profile OpenGL. On other platforms (gbm, x11_egl, for example) it return the correct information.