the "one" enumeration error disappeared but i tried the others and "ZERO" gave the error.<br><br><br><br><div class="gmail_quote">On Jan 2, 2008 8:11 PM, Wesley Smith <<a href="mailto:wesley.hoke@gmail.com">
wesley.hoke@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">ok, I've updated to beta4.1 with a new windows external fixing the ONE
<br>enum problem. Let me know if you still have issues.<br>wes<br><div><div></div><div class="Wj3C7c"><br>On Jan 2, 2008 9:33 AM, Wesley Smith <<a href="mailto:wesley.hoke@gmail.com">wesley.hoke@gmail.com</a>> wrote:
<br>> ok, I'll have an update soon. I'm assuming you're on windows?<br>><br>> wes<br>><br>><br>> On Jan 2, 2008 9:05 AM, yair reshef <<a href="mailto:yair99@gmail.com">yair99@gmail.com</a>
> wrote:<br>> > ye, i got an error. im on beta4<br>> > ob3d_draw_preamble initial: GL Error: Invalid enumeration<br>> ><br>> ><br>> > function init()<br>> > --initialize the dispaly list
<br>> > if(this.context ~= 0) then<br>> > BuildLists()<br>> > gl.Enable ("BLEND")<br>> ><br>> > gl.BlendFunc("ONE", "ONE_MINUS_SRC_ALPHA")
<br>> > --gl.ClearColor(1,1,0,1)<br>> > end<br>> > end<br>> ><br>> ><br>> ><br>> ><br>> > On Jan 2, 2008 6:42 PM, Wesley Smith < <a href="mailto:wesley.hoke@gmail.com">
wesley.hoke@gmail.com</a>> wrote:<br>> > ><br>> > ><br>> > ><br>> > ><br>> > > On Jan 2, 2008 4:51 AM, Erik Mijwaard < <a href="mailto:erik@videotroopers.com">erik@videotroopers.com
</a>> wrote:<br>> > > ><br>> > > ><br>> > > > try this:<br>> > > ><br>> > > > gl.BlendFunc(ONE, ONE_MINUS_SRC_ALPHA)<br>> > > ><br>> > ><br>
> > > Indeed, this is the way to go. The Jitter constants for blend<br>> > > functions just enumerate the list of enums. In jit.gl.lua, the enums<br>> > > have become strings corresponding to the name of the enum. BTW, if
<br>> > > you get errors from the ONE enum and you have the latest version of<br>> > > jit.gl.lua for your platform, let me know.<br>> > ><br>> > > wes<br>> > ><br>> > >
<br>> > ><br>> > ><br>> > > _______________________________________________<br>> > > jitter mailing list<br>> > > <a href="mailto:jitter@cycling74.com">jitter@cycling74.com</a>
<br>> > > <a href="http://www.cycling74.com/mailman/listinfo/jitter" target="_blank">http://www.cycling74.com/mailman/listinfo/jitter</a><br>> > ><br>> ><br>> ><br>> > _______________________________________________
<br>> > jitter mailing list<br>> > <a href="mailto:jitter@cycling74.com">jitter@cycling74.com</a><br>> > <a href="http://www.cycling74.com/mailman/listinfo/jitter" target="_blank">http://www.cycling74.com/mailman/listinfo/jitter
</a><br>> ><br>> ><br>><br>_______________________________________________<br>jitter mailing list<br><a href="mailto:jitter@cycling74.com">jitter@cycling74.com</a><br><a href="http://www.cycling74.com/mailman/listinfo/jitter" target="_blank">
http://www.cycling74.com/mailman/listinfo/jitter</a><br></div></div></blockquote></div><br>