mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-25 18:24:27 +00:00
10.3k
This commit is contained in:
1 parent
7f9aaccc3c
commit
23a2a98893
3 files changed
+22
-3
No files matched your search
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user