|
@@ -46,8 +46,6 @@ SDL_AppResult SDL_AppInit(void **appstate, int argc, char *argv[])
|
|
return SDL_APP_FAILURE;
|
|
return SDL_APP_FAILURE;
|
|
}
|
|
}
|
|
|
|
|
|
- SDL_srand(0); /* seed the random number generator */
|
|
|
|
-
|
|
|
|
/* set up the data for a bunch of points. */
|
|
/* set up the data for a bunch of points. */
|
|
for (i = 0; i < SDL_arraysize(points); i++) {
|
|
for (i = 0; i < SDL_arraysize(points); i++) {
|
|
points[i].x = SDL_randf() * ((float) WINDOW_WIDTH);
|
|
points[i].x = SDL_randf() * ((float) WINDOW_WIDTH);
|