我有什么想法可能做错了吗?
伪代码
for tex in textures: if glIsTexture(tex.opengl_name) == false: glGenTextures(1,&tex.opengl_name) glBindTexture(tex.texture_target); glTexImage(...,texture.image);