diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2015-10-07 08:40:43 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2015-10-07 08:40:43 -0400 |
commit | 40efc2db79c205d122ca9557c9cd0d5679a37446 (patch) | |
tree | d6a227b598ca890de6ecf566a2c6dd2350d17e74 /main.cpp | |
parent | f28fda996331de5dac8fc2f20ea0898527239fe5 (diff) | |
parent | aad308a8938135a9fd2614f2cf47774918539847 (diff) |
world improvement
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -27,6 +27,7 @@ FILE* names; Mix_Music *music; Mix_Chunk *horn; +unsigned int loops = 0; extern void initEverything(void); @@ -58,8 +59,7 @@ int main(int argc, char *argv[]){ std::cout << "SDL_mixer could not initialize! SDL_mixer Error: " << Mix_GetError() << std::endl; } atexit(Mix_Quit); - -// Turn on double buffering + // Turn on double buffering SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1); // Create the window window = SDL_CreateWindow("Independent Study v.0.2 alpha", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, SCREEN_WIDTH, SCREEN_HEIGHT, SDL_WINDOW_SHOWN | SDL_WINDOW_OPENGL @@ -246,4 +246,5 @@ void logic(){ } } } + loops++; } |