screenshot frame counter start at 0 (instead of 100)

This commit is contained in:
erwincoumans
2018-04-11 17:17:35 -07:00
parent ad75ea35b3
commit b18d407ca4

View File

@@ -1257,7 +1257,7 @@ void OpenGLExampleBrowser::update(float deltaTime)
{
skip=gPngSkipFrames;
//printf("gPngFileName=%s\n",gPngFileName);
static int s_frameCount = 100;
static int s_frameCount = 0;
sprintf(staticPngFileName,"%s%d.png",gPngFileName,s_frameCount++);
//b3Printf("Made screenshot %s",staticPngFileName);