Android NDK开发动画遇GLThread SIGSEGV错误求助
解决Android NDK OpenGL动画中的SIGSEGV崩溃问题
嘿,我最近在折腾Android NDK做一个简单的OpenGL动画,结果代码直接崩了!日志里显示:
A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 16198 (GLThread 739)
我完全搞不懂这个错误到底啥意思,下面是我Coin.cpp里的部分Render代码:
void Coin::Render(GLuint textureId, GLuint positionHandle, GLuint texCoord, GLint matrixHandle, GLint samplerLoc) { // Bind the texture to this unit glBindTexture(GL_TEXTURE_2D, textureId); // Enable generic vert...
内容的提问来源于stack exchange,提问作者dotGitignore
相关产品推荐
相关产品推荐

