X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Ffps.c;h=237ef1fef6daf9bab1a6d5d79e6e9af977727e7d;hb=96a411663168b0ba5432b407a83be55f3df0c802;hp=33d4250a26df3bba98ab59e6bbf1677ece45888e;hpb=96bdd7cf6ea60c418a76921acaf0e34d6f5be930;p=xscreensaver diff --git a/hacks/glx/fps.c b/hacks/glx/fps.c index 33d4250a..237ef1fe 100644 --- a/hacks/glx/fps.c +++ b/hacks/glx/fps.c @@ -186,8 +186,8 @@ fps_1 (ModeInfo *mi) static int last_ifps = -1; static GLfloat last_fps = -1; static int frame_count = 0; - static struct timeval prev = { 0, }; - static struct timeval now = { 0, }; + static struct timeval prev = { 0, 0 }; + static struct timeval now = { 0, 0 }; if (!initted_p) {