XML Feeds

.

[jitter] Re: lua questions

Wesley Smith wesley.hoke at gmail.com
Wed Jan 2 09:42:01 MST 2008


On Jan 2, 2008 4:51 AM, Erik Mijwaard <erik at videotroopers.com> wrote:
>
>
> try this:
>
> gl.BlendFunc(ONE, ONE_MINUS_SRC_ALPHA)
>

Indeed, this is the way to go.  The Jitter constants for blend
functions just enumerate the list of enums.  In jit.gl.lua, the enums
have become strings corresponding to the name of the enum.  BTW, if
you get errors from the ONE enum and you have the latest version of
jit.gl.lua for your platform, let me know.

wes


More information about the jitter mailing list