X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=dosdemo;a=blobdiff_plain;f=src%2Fbump.c;h=a6f7aadcb929e8f5cb82f8a5ba693b6544a5ae0d;hp=104b1270dc7125107ea4fe7790fd247ee47bb75c;hb=21c4bd88e7ddd930ac83c54cbe7399af0e188b67;hpb=aefd23e483457daa7eeb4987827e72df83886eaa diff --git a/src/bump.c b/src/bump.c index 104b127..a6f7aad 100644 --- a/src/bump.c +++ b/src/bump.c @@ -7,7 +7,6 @@ #include "demo.h" #include "screen.h" -#include "tinyfps.h" static int init(void); static void destroy(void); @@ -60,7 +59,6 @@ static int init(void) const float rgbMul[9] = { 1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f}; - initFpsFonts(); heightmap = malloc(sizeof(*heightmap) * fb_size); lightmap = malloc(sizeof(*lightmap) * fb_size); @@ -265,7 +263,5 @@ static void draw(void) renderLights(); renderBump((unsigned short*)vmem_back); - drawFps((unsigned short*)vmem_back); - swap_buffers(0); }