1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-10 02:33:00 +00:00
This commit is contained in:
Zeno Rogue
2018-03-02 13:11:53 +01:00
parent 7f9aaccc3c
commit 23a2a98893
3 changed files with 22 additions and 3 deletions

View File

@@ -610,7 +610,7 @@ void prepare(vector<colored_vertex>& v) {
glVertexAttribPointer(aColor, 4, GL_FLOAT, GL_FALSE, sizeof(colored_vertex), &v[0].color);
#else
glVertexPointer(3, GL_FLOAT, sizeof(colored_vertex), &v[0].coords);
glColorPointer(3, GL_FLOAT, sizeof(colored_vertex), &v[0].color);
glColorPointer(4, GL_FLOAT, sizeof(colored_vertex), &v[0].color);
#endif
#endif
}