fix: alignment.
This commit is contained in:
parent
6b7684ba92
commit
56bf0e9376
@ -150,8 +150,8 @@ void Bettola::setup_triangle(void) {
|
|||||||
float vertices[] = {
|
float vertices[] = {
|
||||||
/* Should be a triangle??!?? */
|
/* Should be a triangle??!?? */
|
||||||
-0.5f, -0.5f, 0.0f,
|
-0.5f, -0.5f, 0.0f,
|
||||||
0.5f, -0.5f, 0.0f,
|
0.5f, -0.5f, 0.0f,
|
||||||
0.0f, 0.5f, 0.0f,
|
-0.0f, 0.5f, 0.0f,
|
||||||
};
|
};
|
||||||
|
|
||||||
glGenVertexArrays(1, &_vao);
|
glGenVertexArrays(1, &_vao);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user