mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
235146a95f
commit
0a92823af6
3 changed files with 2 additions and 20 deletions
|
@ -120,11 +120,6 @@ int main(int argc, char **argv)
|
|||
return 0;
|
||||
}
|
||||
|
||||
bool haveFilesOnCommandLine()
|
||||
{
|
||||
return filesOnCommandLine;
|
||||
}
|
||||
|
||||
#define VALIDATE_GL_PREFIX "validateGL(): "
|
||||
|
||||
void validateGL()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue