mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-25 17:43:44 +00:00
prevents an infinite while loop by putting a cap of 4MS on occlusion queries.
This commit is contained in:
parent
8390c4159f
commit
4f3be25699
3 changed files with 14 additions and 3 deletions
|
|
@ -804,7 +804,7 @@ inline bool GFXDevice::beginScene()
|
|||
|
||||
// Send the start of frame signal.
|
||||
getDeviceEventSignal().trigger( GFXDevice::deStartOfFrame );
|
||||
|
||||
mFrameTime->reset();
|
||||
return beginSceneInternal();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue