Mercurial > sdl-ios-xcode
comparison test/testgl2.c @ 2228:bb67fd5ccfdb
Fixed compile warnings with Visual C++
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 12 Aug 2007 00:01:41 +0000 |
parents | 114a541cfae2 |
children | 6630fefab312 |
comparison
equal
deleted
inserted
replaced
2227:b252359547ed | 2228:bb67fd5ccfdb |
---|---|
298 if (now > then) { | 298 if (now > then) { |
299 printf("%2.2f frames per second\n", | 299 printf("%2.2f frames per second\n", |
300 ((double) frames * 1000) / (now - then)); | 300 ((double) frames * 1000) / (now - then)); |
301 } | 301 } |
302 quit(0); | 302 quit(0); |
303 return 0; | |
303 } | 304 } |
304 | 305 |
305 #else /* HAVE_OPENGL */ | 306 #else /* HAVE_OPENGL */ |
306 | 307 |
307 int | 308 int |