Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
3D モデルをクリップしようとしています。シェーディング モードでは問題なく動作しますが、一部のデバイスでのみワイヤフレーム モードにするとアプリケーションがクラッシュします。使用に問題はありますglClipPlanef and GL_LINESか?
glClipPlanef and GL_LINES
glDrawElements(GL10.GL_LINES, 6*numberOfFaces, GL_UNSIGNED_SHORT,shortBuffer )ワイヤーフレームの描画に使用しています。
glDrawElements(GL10.GL_LINES, 6*numberOfFaces, GL_UNSIGNED_SHORT,shortBuffer )
問題は glEnable(GL_TEXTURE2D) にありました。それが削除されたとき、すべてが正常に動作します。