aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 7660628..8129c68 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -17,7 +17,8 @@
#include <assert.h>
-Game::GameType DrawGameMenu()
+Game::GameType
+DrawGameMenu()
{
Game::GameType type = Game::no_game;
@@ -79,7 +80,7 @@ CreateWindow()
SDL_GL_SetAttribute(SDL_GL_STENCIL_SIZE, 8);
- SDL_Window *window = SDL_CreateWindow("fsarcade", 1024, 768, SDL_WINDOW_OPENGL | SDL_WINDOW_RESIZABLE | SDL_WINDOW_HIDDEN | SDL_WINDOW_HIGH_PIXEL_DENSITY);
+ SDL_Window* window = SDL_CreateWindow("fsarcade", 1024, 768, SDL_WINDOW_OPENGL | SDL_WINDOW_RESIZABLE | SDL_WINDOW_HIDDEN | SDL_WINDOW_HIGH_PIXEL_DENSITY);
if (!window) {
std::cerr << "Failed to create SDL_window: " << SDL_GetError() << '\n';
return nullptr;
@@ -126,7 +127,7 @@ CreateWindow()
int
-main(int argc, char **argv)
+main(int argc, char** argv)
{
SDL_Window* window = CreateWindow();
if (!window) {