gles workaround