mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-12 10:20:32 +00:00
fixed missing 3 to SHDIM in shaders.cpp
This commit is contained in:
parent
76d82d4e9a
commit
13b5223ffb
@ -718,7 +718,7 @@ void vertices(const vector<glvertex>& v, int vshift = 0) {
|
|||||||
#if CAP_SHADER
|
#if CAP_SHADER
|
||||||
glVertexAttribPointer(aPosition, SHDIM, GL_FLOAT, GL_FALSE, sizeof(glvertex), &v[vshift]);
|
glVertexAttribPointer(aPosition, SHDIM, GL_FLOAT, GL_FALSE, sizeof(glvertex), &v[vshift]);
|
||||||
#else
|
#else
|
||||||
glVertexPointer(3, GL_FLOAT, sizeof(glvertex), &v[0]);
|
glVertexPointer(SHDIM, GL_FLOAT, sizeof(glvertex), &v[0]);
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user