That function is not available with GLES, and calling it is only necessary for NVidia. (cherry picked from commit 1626d7a5)