سؤال

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