]> Shamusworld >> Repos - thunder/blobdiff - src/video.cpp
Added save states; updated application icon.
[thunder] / src / video.cpp
index 9ca749090bb2594715c2755cfdbaf1f4785aa091..a4a94a51ad614b6593633f1f0a75dd329ee7bff6 100644 (file)
@@ -22,7 +22,6 @@
 
 // Exported global variables (actually, these are LOCAL global variables, EXPORTED...)
 
-//SDL_Surface * screen;
 static SDL_Window * sdlWindow = NULL;
 SDL_Renderer * sdlRenderer = NULL;
 static SDL_Texture * sdlTexture = NULL;
@@ -33,7 +32,6 @@ struct
        bool fullscreen;
 } settings;
 
-
 //
 // Prime SDL and create surfaces
 //
@@ -49,7 +47,7 @@ bool InitVideo(void)
 
        if (retVal != 0)
        {
-               WriteLog("Video: Could not window and/or renderer: %s\n", SDL_GetError());
+               WriteLog("Video: Could not create window and/or renderer: %s\n", SDL_GetError());
                return false;
        }
 
@@ -72,7 +70,6 @@ bool InitVideo(void)
        return true;
 }
 
-
 //
 // Free various SDL components
 //
@@ -83,7 +80,6 @@ void VideoDone(void)
        WriteLog("Video: Done.\n");
 }
 
-
 //
 // Render the screen buffer to the primary screen surface
 //
@@ -95,7 +91,6 @@ void RenderScreenBuffer(void)
        SDL_RenderPresent(sdlRenderer);
 }
 
-
 //
 // Fullscreen <-> window switching
 //
@@ -109,4 +104,3 @@ void ToggleFullScreen(void)
        if (retVal != 0)
                WriteLog("Video::ToggleFullScreen: SDL error = %s\n", SDL_GetError());
 }
-