문제

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.

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top