allow for custom SDL window parameters #8

Merged
odweta merged 2 commits from feat/custom-sdl-window-params into dev 2026-10-06 10:42:34 +02:00
Owner

Fixed with commit a32a3db9bc.
Added the parameters to the function signatures and passing them through to the endpoint (engine_sdl_init_state), where they are used.
Made game_state->framebuffer a dynamically allocated heap pointer because of the window_width and window_height parameters' ability to now have arbitrary values.

Closes #5.

Fixed with commit [a32a3db9bc](https://git.sourceworks.dev/odweta/dangerzone/commit/a32a3db9bc107ad5124f6a55ebee954aaf9078ae). Added the parameters to the function signatures and passing them through to the endpoint (engine_sdl_init_state), where they are used. Made game_state->framebuffer a dynamically allocated heap pointer because of the window_width and window_height parameters' ability to now have arbitrary values. Closes #5.
odweta self-assigned this 2026-10-06 10:37:02 +02:00
odweta added 2 commits 2026-10-06 10:37:02 +02:00
odweta merged commit 67bc093c54 into dev 2026-10-06 10:42:34 +02:00
odweta deleted branch feat/custom-sdl-window-params 2026-10-06 10:42:34 +02:00
Sign in to join this conversation.