Fps is now refreshed only in playback mode. Changed the texture min filter to GL_LINEAR and replaced GL_CLAMP by GL_CLAMP_TO_EDGE to the parameters