# HG changeset patch # User Matti Hamalainen # Date 1375735499 -10800 # Node ID 5770a4c8596143df74045b8701efecdbf76d79ad # Parent 78c981f2ff2d566448d3d04e935c16404fc63de1 Shut up few warnings. diff -r 78c981f2ff2d -r 5770a4c85961 src/main.c --- 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; }