1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-30 15:39:54 +00:00

removed a special case in Android graphics which should not be a special case

This commit is contained in:
Zeno Rogue 2019-06-28 09:58:09 +02:00
parent f0d04f6bc2
commit 8aea5eebb4

View File

@ -471,18 +471,7 @@ void dqi_poly::gldraw() {
}
else {
glhr::be_nontextured();
#if !ISANDROID
glhr::vertices(v);
#else
if(glhr::current_vertices != &v[offset]) {
glhr::current_vertices = &v[offset];
glVertexAttribPointer(glhr::aPosition, 3, GL_FLOAT, GL_FALSE, sizeof(glvertex), &v[offset]);
// glVertexPointer(3, GL_FLOAT, sizeof(glvertex), &v[ps]);
// glhr::vertices(v);
}
offset = 0;
#endif
}
for(int ed = current_display->stereo_active() ? -1 : 0; ed<2; ed+=2) {