DOME window opens centered on screen
@@ -231,7 +231,7 @@ ENGINE_start(ENGINE* engine) {
}
//Create window
- engine->window = SDL_CreateWindow("DOME", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, SCREEN_WIDTH, SCREEN_HEIGHT, SDL_WINDOW_HIDDEN | SDL_WINDOW_RESIZABLE);
+ engine->window = SDL_CreateWindow("DOME", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, SCREEN_WIDTH, SCREEN_HEIGHT, SDL_WINDOW_HIDDEN | SDL_WINDOW_RESIZABLE);
if(engine->window == NULL)
{
char* message = "Window could not be created! SDL_Error: %s\n";
