fix --frameskip

This commit is contained in:
Andrei Alexeyev 2019-01-22 06:06:41 +02:00
parent 44a2f849ff
commit e628301f48
No known key found for this signature in database
GPG key ID: 363707CD4C7FE8A4

View file

@ -156,17 +156,17 @@ begin_frame:
fpscounter_update(&global.fps.render);
}
if(lframe_action == LFRAME_STOP) {
break;
}
if(rframe_action == RFRAME_SWAP) {
video_swap_buffers();
}
if(lframe_action == LFRAME_STOP) {
break;
}
fpscounter_update(&global.fps.busy);
if(/*lframe_action == LFRAME_SKIP ||*/ uncapped_rendering) {
if(uncapped_rendering || global.frameskip > 0) {
continue;
}