moved the drawFps call to the backends so it works automatically for
[dosdemo] / src / demo.c
index 472da32..518bb53 100644 (file)
@@ -9,6 +9,7 @@
 #include "3dgfx.h"
 #include "music.h"
 #include "cfgopt.h"
+#include "tinyfps.h"
 
 int fb_width = 320;
 int fb_height = 240;
@@ -35,6 +36,8 @@ int demo_init(int argc, char **argv)
                return -1;
        }
 
+       initFpsFonts();
+
        if(g3d_init() == -1) {
                return -1;
        }