[請益] 關於 opengl es Frame Buffer 的問題

看板GameDesign (遊戲設計)作者 (Oh Yes)時間15年前 (2010/07/14 11:10), 編輯推噓0(002)
留言2則, 1人參與, 最新討論串1/1
我目前在寫android 的程式,需要使用frame buffer,我加了下面的codes 就會當機。 請教一下高手,這是什麼樣子的問題?如果有需要,我也可以提供完整的程式碼 public void onSurfaceChanged(GL10 gl, int width, int height) { /*......省.......*/ GL11ExtensionPack gl11ep = (GL11ExtensionPack) gl; int textureID=0; int[] framebuffers = new int[10]; gl11ep.glGenFramebuffersOES(1, framebuffers, 0); /*......省.......*/ } -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.20.135.146

07/14 15:07, , 1F
UnsupportedOperationException
07/14 15:07, 1F

07/14 15:08, , 2F
但是 glGenFramebuffersOES Since: API Level 1 ,怎麼會><
07/14 15:08, 2F
文章代碼(AID): #1CFIgVhO (GameDesign)
文章代碼(AID): #1CFIgVhO (GameDesign)