code to avoid querying GLES
code to avoid querying GLES