profile: remove firstCall static variable

The profile had a static variable which prevented animation
when first showing the profile. It appears more logical to
don't show the animation when switching from the empty state.
This removes global state, as a function static variable
exists only once, even if there are multiple objects.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2021-01-09 23:54:14 +01:00 committed by Dirk Hohndel
parent 235146a95f
commit 0a92823af6
3 changed files with 2 additions and 20 deletions

View file

@ -120,11 +120,6 @@ int main(int argc, char **argv)
return 0;
}
bool haveFilesOnCommandLine()
{
return filesOnCommandLine;
}
#define VALIDATE_GL_PREFIX "validateGL(): "
void validateGL()