summaryrefslogtreecommitdiff
path: root/src/window.cpp
diff options
context:
space:
mode:
authortom <tom@apollo>2017-01-11 02:19:07 -0600
committertom <tom@apollo>2017-01-11 02:19:07 -0600
commitb97a54b8acd113e99871fdb0f683e27e0912bf42 (patch)
tree0c32320f225569da513a505d73dd72a506f08c95 /src/window.cpp
parentf6f6d81c5634f659693914b7b74efcdd39ba5d4f (diff)
-removed all magic numbers and placed them in a constants header
-removed unused libraries and redid all header files
Diffstat (limited to 'src/window.cpp')
-rw-r--r--src/window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.cpp b/src/window.cpp
index fccdef0..f7868a4 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -3,7 +3,7 @@
Window::Window()
{
SDL_Init(SDL_INIT_VIDEO);
- main = SDL_CreateWindow("main",SDL_WINDOWPOS_UNDEFINED,SDL_WINDOWPOS_UNDEFINED,1080,640,SDL_WINDOW_SHOWN);
+ main = SDL_CreateWindow("main",SDL_WINDOWPOS_UNDEFINED,SDL_WINDOWPOS_UNDEFINED,WINDOW_X,WINDOW_Y,SDL_WINDOW_SHOWN);
renderer = SDL_CreateRenderer(main,-1,SDL_RENDERER_ACCELERATED);
SDL_SetRenderDrawColor(renderer, 0, 0, 0, 0);
}