Searched refs:posAttrib (Results 1 – 1 of 1) sorted by relevance
378 glw::GLint posAttrib = -1; in buildAndUseProgram() local383 posAttrib = gl.getAttribLocation(m_program_id, "vertex_position"); in buildAndUseProgram()386 if (posAttrib == -1) in buildAndUseProgram()391 gl.vertexAttribPointer(posAttrib, 4, GL_FLOAT, GL_FALSE, 0, 0); in buildAndUseProgram()394 gl.enableVertexAttribArray(posAttrib); in buildAndUseProgram()