We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.
OpenGL framebuffer access violation fix
OpenGL framebuffer access violation fix
Bug #1511 [Closed]
Status: | Closed | |
---|---|---|
Start date: | 2012-10-17 | |
Priority: | Normal | |
Due date: | ||
Assignee: | ||
% Done: | 100% |
|
Category: | windows | |
Target version: | cocos2d-2.0-x-2.0.4 |
Refers to https://github.com/cocos2d/cocos2d-x/pull/1312.
Even if the good opengl version are available, framebuffer support is done as an extension, not in the native opengl. This fix should bind dynamically all the framebuffers methods from the correct ARB/EXT. (Inside VirtualBox, OpenGL is 4.0, but we was getting a crash with glGenFramebuffers(), cause the function pointer was NULL).