mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-27 16:23:08 +00:00
fixed missing 3 to SHDIM in shaders.cpp
This commit is contained in:
1 parent
76d82d4e9a
commit
13b5223ffb
1 file changed
+1
-1
+1
-1
@@ -718,7 +718,7 @@ void vertices(const vector<glvertex>& v, int vshift = 0) {
|
||||
#if CAP_SHADER
|
||||
glVertexAttribPointer(aPosition, SHDIM, GL_FLOAT, GL_FALSE, sizeof(glvertex), &v[vshift]);
|
||||
#else
|
||||
glVertexPointer(3, GL_FLOAT, sizeof(glvertex), &v[0]);
|
||||
glVertexPointer(SHDIM, GL_FLOAT, sizeof(glvertex), &v[0]);
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user