]> Shamusworld >> Repos - stargem2/blobdiff - src/video.cpp
Finally fixed problems with demo mode.
[stargem2] / src / video.cpp
old mode 100755 (executable)
new mode 100644 (file)
index 072808e..8baa478
@@ -1,7 +1,7 @@
 //
 // VIDEO.CPP: SDL/local hardware specific video routines
 //
-// by James L. Hammons
+// by James Hammons
 //
 
 #include "video.h"
@@ -11,7 +11,6 @@
 #include "log.h"
 #include "settings.h"
 
-
 // Exported global variables (actually, these are LOCAL global variables, EXPORTED...)
 
 static SDL_Window * sdlWindow = NULL;
@@ -19,7 +18,6 @@ static SDL_Renderer * sdlRenderer = NULL;
 static SDL_Texture * sdlTexture = NULL;
 uint32_t scrBuffer[VIRTUAL_SCREEN_WIDTH * VIRTUAL_SCREEN_HEIGHT * sizeof(uint32_t)];
 
-
 //
 // Prime SDL and create surfaces
 //
@@ -52,7 +50,6 @@ bool InitVideo(void)
        return true;
 }
 
-
 //
 // Free various SDL components
 //
@@ -61,7 +58,6 @@ void VideoDone(void)
        SDL_Quit();
 }
 
-
 //
 // Render the backbuffer to the primary screen surface
 //
@@ -73,7 +69,6 @@ void RenderScreenBuffer(void)
        SDL_RenderPresent(sdlRenderer);
 }
 
-
 //
 // Fullscreen <-> window switching
 //
@@ -98,4 +93,3 @@ void ToggleFullScreen(void)
                WriteLog("Video::ToggleFullScreen: SDL error = %s\n", SDL_GetError());
        }
 }
-