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