From 8649d25cffb40632af1f0311b5902316940c68fc Mon Sep 17 00:00:00 2001 From: Paul Date: Thu, 21 Dec 2000 15:51:24 +0000 Subject: [PATCH] --- source/system/vid.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/system/vid.cpp b/source/system/vid.cpp index 82a814c35..1be72392c 100644 --- a/source/system/vid.cpp +++ b/source/system/vid.cpp @@ -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; + } }