diff --git a/panda/src/dxgsg/config_dxgsg.cxx b/panda/src/dxgsg/config_dxgsg.cxx index 5820a285f3..07e75c7dd8 100644 --- a/panda/src/dxgsg/config_dxgsg.cxx +++ b/panda/src/dxgsg/config_dxgsg.cxx @@ -30,7 +30,7 @@ float dx_global_miplevel_bias = config_dxgsg.GetFloat("dx-global-miplevel-bias", bool dx_force_16bpp_screenbuffers = config_dxgsg.GetBool("dx-force-16bpp-screenbuffers", false); bool dx_show_fps_meter = config_dxgsg.GetBool("show-fps-meter", false); -float dx_fps_meter_update_interval = config_dxgsg.GetFloat("fps-meter-update-interval", 1.7); +float dx_fps_meter_update_interval = max(0.5,config_dxgsg.GetFloat("fps-meter-update-interval", 1.7)); #ifdef _DEBUG bool dx_debug_view_mipmaps = config_dxgsg.GetBool("dx-debug-view-mipmaps", false);