Searched refs:posloc (Results 1 – 1 of 1) sorted by relevance
416 const int posloc = glGetAttribLocation(prog, "a_pos"); in render() local421 glEnableVertexAttribArray(posloc); in render()422 glVertexAttribPointer(posloc, 2, GL_FLOAT, 0, 0, &m_posBuf[0]); in render()424 glDisableVertexAttribArray(posloc); in render()