Added SDL2 Experiment 6, and fixed a bad yank that got copied

- Added Experiment 6, which is a modified version of experiment 5 using delta-time scaling.
- Removed the double SDL initialization, which is a no-op, but for the sake of betterment.
This commit is contained in:
2023-02-02 14:59:06 +00:00
parent 360513f31e
commit 2f434471c2
6 changed files with 184 additions and 26 deletions

View File

@ -64,11 +64,6 @@ int main(int argc, char ** argv)
printf("SDL Initialization Error: %s\n", SDL_GetError());
}
if (SDL_Init(SDL_INIT_EVERYTHING) != 0)
{
printf("SDL Initialization Error: %s\n", SDL_GetError());
}
IMG_Init(IMG_INIT_PNG);
// Create an SDL window and rendering context in that window: