mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-22 17:43:21 +02:00
Render static halfCylinder backing to face in full frame mode.
This commit is contained in:
parent
05d933bf33
commit
988faeff54
1 changed files with 1 additions and 1 deletions
|
@ -312,7 +312,7 @@ bool Face::render(float alpha) {
|
|||
glGenBuffers(1, &_iboID);
|
||||
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, _iboID);
|
||||
int* indices = new int[INDEX_COUNT];
|
||||
int* indexPosition = indices;
|
||||
int* indexPosition = indices;
|
||||
for (int i = 0; i < QUAD_HEIGHT; i++) {
|
||||
for (int j = 0; j < QUAD_WIDTH; j++) {
|
||||
*indexPosition++ = i * VERTEX_WIDTH + j;
|
||||
|
|
Loading…
Reference in a new issue