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:
@ -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());
|
||||
}
|
||||
|
||||
// Create an SDL window and rendering context in that window:
|
||||
SDL_Window * window = SDL_CreateWindow("SDL_TEST", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, 640, 640, 0);
|
||||
|
Reference in New Issue
Block a user