[osg-users] LogicOp not available in OpenGL 3 version of OSG 2.9.11?

2011-03-22 Thread Juan Hernando
Dear all, I'm porting an application from OpenGL 2.x to OpenGL 4.x and I've found out that LogicOp only works if OSG_GL_FIXED_FUNCTION_AVAILABLE is defined. I've checked the OpenGL spec for versions 4.1 and 3.3 and logical operations are part of it (no mention about deprecation). Furthermore,

Re: [osg-users] LogicOp not available in OpenGL 3 version of OSG 2.9.11?

2011-03-22 Thread Robert Osfield
Hi Juan, I don't recall the specifics of LogicOp, but my guess is that the OSG_GL_FIXED_FUNCTION_AVAILABLE was probably introduced to enable the GLES1+GLES2 builds. You could try changing the defines uses to so that only GLES builds disable LogicOp. Robert. On Tue, Mar 22, 2011 at 10:47 AM,

Re: [osg-users] LogicOp not available in OpenGL 3 version of OSG 2.9.11?

2011-03-22 Thread Juan Hernando
Hi Robert, I don't recall the specifics of LogicOp, but my guess is that the OSG_GL_FIXED_FUNCTION_AVAILABLE was probably introduced to enable the GLES1+GLES2 builds. You could try changing the defines uses to so that only GLES builds disable LogicOp. OK thanks, that makes sense. I'll try to