X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fvideo.cpp;h=8baa47861c459ef99910b120e6d056af248e944e;hb=HEAD;hp=072808e41bdf3fb370b3ff8a8411a8d6af651868;hpb=e3ad811139308bfe8a818cf5e42e7553785fea82;p=stargem2 diff --git a/src/video.cpp b/src/video.cpp old mode 100755 new mode 100644 index 072808e..8baa478 --- a/src/video.cpp +++ b/src/video.cpp @@ -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()); } } -