From 0b9ee5884f472c67d1da59a60dc0302c2e285ffc Mon Sep 17 00:00:00 2001 From: Gregor Parzefall Date: Sun, 17 Sep 2023 20:28:53 +0200 Subject: [PATCH] Fix Android build after #231 --- source/Irrlicht/COGLESDriver.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/source/Irrlicht/COGLESDriver.cpp b/source/Irrlicht/COGLESDriver.cpp index 484c66bff..530eb0988 100644 --- a/source/Irrlicht/COGLESDriver.cpp +++ b/source/Irrlicht/COGLESDriver.cpp @@ -775,10 +775,6 @@ void COGLES1Driver::drawVertexPrimitiveList2d3d(const void* vertices, u32 vertex case scene::EPT_TRIANGLES: glDrawElements((LastMaterial.Wireframe)?GL_LINES:(LastMaterial.PointCloud)?GL_POINTS:GL_TRIANGLES, primitiveCount*3, indexSize, indexList); break; - case scene::EPT_QUAD_STRIP: - case scene::EPT_QUADS: - case scene::EPT_POLYGON: - break; } if (Feature.MaxTextureUnits > 0)