Frage

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.

War es hilfreich?

Lösung

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top