glGetIntegerv returns 0 in Lollipop only. This piece of code used to work in my Nexus 7 2012 KitKat: int[] maxSize = new int[1]; GLES10.glGetIntegerv(GL10.
確定! 回上一頁