作者puper (Oh Yes)
看板GameDesign
標題[請益] 關於 opengl es Frame Buffer 的問題
時間Wed Jul 14 11:10:18 2010
我目前在寫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
→ puper:UnsupportedOperationException 07/14 15:07
→ puper:但是 glGenFramebuffersOES Since: API Level 1 ,怎麼會>< 07/14 15:08