0
我无法找到glTextureVertexPointer定义的位置,在我的C++或java opengl游戏中没有这样的函数,并且我已经包含并测试了来自opengl的所有东西。glTextureVertexPointer定义在哪里?
我试图把它这样
glTextureVertexPointer(2, GL_FLOAT, texVerts);
我真的需要这个功能,以从我的纹理spritesheet吸取一定的精灵。 我无法在谷歌, 这个功能,如果可能的话,我需要知道它的完整源代码。 更有趣的是,即使在官方的opengl页面中,我也找不到那个函数。
我已经采取了从功能这个答案:OpenGL spritesheets - beginner needs some guidance
看看这个答案:http://stackoverflow.com/questions/1568559/opengl-spritesheets-beginner-needs-some-guidance/1568666#1568666 –
@БайИван:看起来像一个简单的错误给我。 –