projects
/
dosdemo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
moved the drawFps call to the backends so it works automatically for
[dosdemo]
/
src
/
bump.c
diff --git
a/src/bump.c
b/src/bump.c
index
104b127
..
a6f7aad
100644
(file)
--- a/
src/bump.c
+++ b/
src/bump.c
@@
-7,7
+7,6
@@
#include "demo.h"
#include "screen.h"
#include "demo.h"
#include "screen.h"
-#include "tinyfps.h"
static int init(void);
static void destroy(void);
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};
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);
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);
renderLights();
renderBump((unsigned short*)vmem_back);
- drawFps((unsigned short*)vmem_back);
-
swap_buffers(0);
}
swap_buffers(0);
}