Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我刚刚注意到,当我尝试使用大小:1085859108 和数据:NULL 调用它时,glBufferData 会静默失败。
对 glBufferSubData 的调用失败并出现 OUT_OF_MEMORY“异常”。这是在 Windows XP 32 位、NVIDIA Gforce 9500 GT (1024MB) 和 195.62 驱动程序上。
有什么方法可以确定缓冲区是否成功创建?(例如像代理纹理之类的东西?)
亲切的问候,弗洛里安
我怀疑它真的很安静。我猜想在那次尝试之后glGetError会返回。GL_OUT_OF_MEMORY
glGetError
GL_OUT_OF_MEMORY