Home
last modified time | relevance | path

Searched refs:attrloc (Results 1 – 1 of 1) sorted by relevance

/third_party/glfw/examples/
Dheightmap.c343 GLuint attrloc; in make_mesh() local
353 attrloc = glGetAttribLocation(program, "x"); in make_mesh()
356 glEnableVertexAttribArray(attrloc); in make_mesh()
357 glVertexAttribPointer(attrloc, 1, GL_FLOAT, GL_FALSE, 0, 0); in make_mesh()
359 attrloc = glGetAttribLocation(program, "z"); in make_mesh()
362 glEnableVertexAttribArray(attrloc); in make_mesh()
363 glVertexAttribPointer(attrloc, 1, GL_FLOAT, GL_FALSE, 0, 0); in make_mesh()
365 attrloc = glGetAttribLocation(program, "y"); in make_mesh()
368 glEnableVertexAttribArray(attrloc); in make_mesh()
369 glVertexAttribPointer(attrloc, 1, GL_FLOAT, GL_FALSE, 0, 0); in make_mesh()