From 8aea5eebb48a204a81ab890a2f2ab9fc4c72f842 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 28 Jun 2019 09:58:09 +0200 Subject: [PATCH] removed a special case in Android graphics which should not be a special case --- drawing.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/drawing.cpp b/drawing.cpp index e8806ab2..ff9dc279 100644 --- a/drawing.cpp +++ b/drawing.cpp @@ -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) {