Pregunta

I am trying to clip a 3D model . It works fine with shaded mode but the application crashes when it is in wireframe mode in some devices only. Is there any issue using glClipPlanef and GL_LINES?

I am using glDrawElements(GL10.GL_LINES, 6*numberOfFaces, GL_UNSIGNED_SHORT,shortBuffer ) to draw wireframe.

¿Fue útil?

Solución

The issue was with glEnable(GL_TEXTURE2D). When it was removed everything works fine.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top