Searched refs:pgm (Results 1 – 1 of 1) sorted by relevance
44 static GLuint pgm; variable98 pgm = load_program(gVertexShader, gFragmentShader); in prepare()99 if (!pgm) in prepare()102 aPosition = glGetAttribLocation(pgm, "aPosition"); in prepare()103 uTexture = glGetUniformLocation(pgm, "uTexture"); in prepare()104 uTransform = glGetUniformLocation(pgm, "uTransform"); in prepare()105 uAnim = glGetUniformLocation(pgm, "uAnim"); in prepare()131 glUseProgram(pgm); in render()