Clean up some stupid code. :p

This commit is contained in:
Themaister 2010-12-14 15:19:13 +01:00
parent 81ba2daa04
commit c589d82596

5
gl.c
View File

@ -226,10 +226,7 @@ static inline void show_fps(void)
if ((frames % 180) == 0 && frames > 0)
{
gettimeofday(&new_tv, NULL);
struct timeval tmp_tv = {
.tv_sec = tv.tv_sec,
.tv_usec = tv.tv_usec
};
struct timeval tmp_tv = tv;
gettimeofday(&tv, NULL);
char tmpstr[256] = {0};