[請益] 關於 opengl es Frame Buffer 的問題
我目前在寫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
07/14 15:07, 1F
→
07/14 15:08, , 2F
07/14 15:08, 2F
GameDesign 近期熱門文章
PTT遊戲區 即時熱門文章
66
113
447
1044