I’m using ofx 0.8.3 iOS.
When drawing an ofMesh into an ofFbo with mode OF_PRIMITIVE_POINTS the application crashes after a few seconds and the rendering is quite different (white squares for each point not circles).
Basically this:
mesh.setMode(OF_PRIMITIVE_POINTS);
glPointSize( 4 );
glEnable( GL_POINT_SMOOTH );
OF_PRIMITIVE_LINES or any other mode except OF_PRIMITIVE_POINTS is fine, no crashes, no weird rendering.
My main looks like this:
ofAppiOSWindow * iOSWindow = new ofAppiOSWindow();
iOSWindow->enableAntiAliasing(2);
iOSWindow->enableRetina();
iOSWindow->enableDepthBuffer();
iOSWindow->enableHardwareOrientation();
iOSWindow->enableOrientationAnimation();
iOSWindow->enableRendererES2();
ofSetCurrentRenderer(ofGLProgrammableRenderer::TYPE);
ofSetupOpenGL(iOSWindow, 1024, 768, OF_FULLSCREEN);
Thanks.