setGLProgramState support