I just updated opengl.gl in git to have bindings for OpenGL functions  
up to OpenGL 3.1. There's also a new opengl.gl3 vocab which only  
exports undeprecated OpenGL 3 symbols.

As a heads-up, if you've written any OpenGL code in Factor that uses  
promoted extensions like GL_EXT_framebuffer_object or  
GL_ARB_texture_float, you'll need to remove the _ARB and _EXT suffixes  
from your code. Even if your OpenGL driver doesn't actually support  
OpenGL 3, Factor will automatically use the extension forms of GL  
functions for which the core version is unavailable. So this:

    GL_RENDERBUFFER_EXT GL_RGBA32F_ARB 512 512 glRenderbufferStorageEXT

becomes:

    GL_RENDERBUFFER GL_RGBA32F 512 512 glRenderbufferStorage

and will work with OpenGL 3 or OpenGL 1.x/2.x +  
GL_EXT_framebuffer_object.

-Joe

------------------------------------------------------------------------------
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to