On Fri, Oct 12, 2012 at 2:09 PM, PGGB <[email protected]> wrote:
> I did 'build-support/factor.sh bootstrap' but it still gives me the same 
> error.
> When I add core-profile to my gl-tut program I get another error:
>
>         T{ gl-error { code 1280 } { string "Invalid enumerant" } }

That's probably because the Factor gadget system makes pretty heavy
use of OpenGL 1.1 calls that aren't available in the core profile. The
core profile is definitely not going to work with the gadget
system—you'll need to subclass the "world" object that represents the
window and GL context directly. See "terrain" for an example of how to
do this. Even then, there are possibly compatibilty profile
dependencies in the basic window management code. It'd be great if you
could get core profile to work, but I think the least-resistance path
would be to use 2.1 with extensions. GLSL 1.20 with `#extension
GL_EXT_gpu_shader4` and `#extension GL_EXT_geometry_shader4` is mostly
equivalent to GLSL 1.50.

-Joe

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to