Browse Source

made FPS print to console when using RI_FLAG_DEBUG_FLS even if RI_FLAG_DEBUG_TICK is off

iver 7 months ago
parent
commit
9255183d92
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/RasterIver/source code/rasteriver.c

+ 1 - 1
src/RasterIver/source code/rasteriver.c

@@ -1430,7 +1430,7 @@ for (int id_x = -width / 2; id_x < width / 2; id_x++){
         }
         
         if (debug_fps){
-            debug_tick_func(0, "FPS: %lf (%d polygons, %d pixels)", fps, polygon_count, width * height);
+            debug(0, "FPS: %lf (%d polygons, %d pixels)", fps, polygon_count, width * height);
         }
 
         debug_tick_func(1, "Ticked");