I had it working in my previous project but after implementing it in my new one I’m getting the error
“OpenGL error 0x0502 in …/GLES-Render.cpp DrawSegment 185”
And the draw is completely janky. I am performing some other opengl operations in my game including rendering position/color into a texture, and realtime position/texture rendering. Maybe i somehow fudged up the use of GLES-Render? Why might this be happening?
B2DebugDraw did not help.
The errors slow down some box2d samples on ipad device to <10 fps if running from xcode. When run from the device (without xcode) its normal - fast.