This content has been marked as final.
Show 3 replies
-
1. Re: I get an error on drawTriangles: How to unbind a vertex buffer?
AIF Bob Mar 22, 2011 3:09 PM (in response to EcIipse)Are you running through the Pixel Bender classes to do the drawing or going directly to the Molehill APIs?
If you're using the Pixel Bender classes could you post some source code and I'll take a look at it. If you're going directly to Molehill you might want to post your question in the incubator forum here:
http://forums.adobe.com/community/labs/flashplatformruntimes/incubator/
where it will be read by more people with Molehill experience.
Bob
-
2. Re: I get an error on drawTriangles: How to unbind a vertex buffer?
EcIipse Mar 22, 2011 3:19 PM (in response to AIF Bob)I'm using PixelBender shaders but I think this question is mostly related to Molehill, my shaders are converted and then used like normal ones.
I'll ask on that forum, thank you.
-
3. Re: I get an error on drawTriangles: How to unbind a vertex buffer?
EcIipse Mar 23, 2011 1:40 AM (in response to EcIipse)Problem solved, I had to use
context.setVertexBufferAt(X, null);
where X is the number of the vertex stream I want to unset

