'gl_flavor_gles' when checking for sgx support (if we reset gl_flavor_gles here, then the autofoo output always returns 'NO' for gles. SVN revision: 67572