tangled
alpha
login
or
join now
canoi.dev.br
/
bite
0
fork
atom
bit engine
0
fork
atom
overview
issues
pulls
pipelines
fixed vertex array creation;
Canoi
3 years ago
b65eeb5e
d0dd6d90
+2
-2
1 changed file
expand all
collapse all
unified
split
bite.c
+2
-2
bite.c
reviewed
···
700
700
701
701
glEnableVertexAttribArray(0);
702
702
glEnableVertexAttribArray(1);
703
703
-
glVertexAttribPointer(0, 2, GL_FLOAT, GL_FALSE, 6*sizeof(float), (void*)0);
704
704
-
glVertexAttribPointer(0, 4, GL_FLOAT, GL_FALSE, 6*sizeof(float), (void*)(2 * sizeof(float)));
703
703
+
glVertexAttribPointer(0, 2, GL_FLOAT, GL_FALSE, 5*sizeof(float), (void*)0);
704
704
+
glVertexAttribPointer(1, 4, GL_FLOAT, GL_FALSE, 5*sizeof(float), (void*)(2 * sizeof(float)));
705
705
glBindBuffer(GL_ARRAY_BUFFER, 0);
706
706
glBindVertexArray(0);
707
707