This commit is contained in:
parent
9e0c518099
commit
8649d25cff
1 changed files with 6 additions and 0 deletions
|
@ -402,6 +402,12 @@ if(ScreenClipBox==2)
|
|||
int fc=FrameCounter;
|
||||
s_vblsThisFrame=fc-s_lastFrameCounter;
|
||||
s_lastFrameCounter=fc;
|
||||
|
||||
// Can get 0 vbls during start up, and it breaks things
|
||||
if(s_vblsThisFrame==0)
|
||||
{
|
||||
s_vblsThisFrame=1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue