OpenGL

Indirect Buffer

E/OpenGLES( 351): Application (SDK target 0) called a GL11 Pointer method with an indirect Buffer.というエラーが出ました。これは、描画にbufferがdirectである必要があるのにindirect Bufferを使っているから起きることらしいです。 Direct Bufferは…

glGenTextures()で失敗する

onClickをトリガーとして、こんな感じで int[] textures = new int[1]; gl.glGenTextures(1, textures, 0); テキスチャを作成しようとしていたところ、 E/libEGL ( 1150): call to OpenGL ES API with no currentcontext (logged once per thread)というエラ…