Mercurial > hg > forks > bilotrip-mj12
changeset 42:5770a4c85961
Shut up few warnings.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 05 Aug 2013 23:44:59 +0300 |
parents | 78c981f2ff2d |
children | d00b967c48f2 |
files | src/main.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main.c Mon Aug 05 23:44:43 2013 +0300 +++ b/src/main.c Mon Aug 05 23:44:59 2013 +0300 @@ -185,8 +185,8 @@ atlas = texture_atlas_new( 512, 512, 1 ); vec4 white = {{0.2,1,0.2,0.7}}; - vec4 black = {{0,0,0,1}}; - vec4 none = {{0,0,1,0}}; + //vec4 black = {{0,0,0,1}}; + //vec4 none = {{0,0,1,0}}; markup_t normal; normal.family = "data/fonts/VeraMono.ttf"; @@ -3263,7 +3263,7 @@ void FPS(void) { static GLint Frames = 0; // frames averaged over 1000mS static GLuint Clock; // [milliSeconds] - static GLuint PreviousClock = 0; // [milliSeconds] + //static GLuint PreviousClock = 0; // [milliSeconds] static GLuint NextClock = 0; // [milliSeconds] ++Frames; @@ -3272,7 +3272,7 @@ gFramesPerSecond = Frames/1; // store the averaged number of frames per second - PreviousClock = Clock; + //PreviousClock = Clock; NextClock = Clock+1000; // 1000mS=1S in the future Frames=0; }