Skip to content

Commit

Permalink
Centering
Browse files Browse the repository at this point in the history
  • Loading branch information
gecko0307 committed Mar 14, 2024
1 parent 47ac5f8 commit 3e071d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dagon/core/application.d
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ class Application: EventListener
SDL_GL_SetAttribute(SDL_GL_STENCIL_SIZE, 8);

window = SDL_CreateWindow(toStringz(windowTitle),
SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, width, height, SDL_WINDOW_SHOWN | SDL_WINDOW_OPENGL | SDL_WINDOW_RESIZABLE);
SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, width, height, SDL_WINDOW_SHOWN | SDL_WINDOW_OPENGL | SDL_WINDOW_RESIZABLE);
if (window is null)
exitWithError("Error: failed to create window: " ~ to!string(SDL_GetError()));

Expand Down

0 comments on commit 3e071d8

Please sign in to comment.