rendererGLES: swapped order of for comparisons, refs #688