Skip to content

Allow to toggle full-screen mode.#77

Merged
crud89 merged 6 commits intomainfrom
fullscreen
Aug 20, 2022
Merged

Allow to toggle full-screen mode.#77
crud89 merged 6 commits intomainfrom
fullscreen

Conversation

@crud89
Copy link
Copy Markdown
Owner

@crud89 crud89 commented Aug 20, 2022

Describe the pull request

This adds support to toggle full-screen mode. This also fixes an issue where minimizing a window (i.e. resizing to [0, 0]) would cause an exception. Furthermore, it adds a handler to all samples, that closes the application if the ESC key is pressed.

Related issues

@crud89 crud89 added Priority: Medium A issue with normal priority. Type: Requirement Vulkan πŸŒ‹ The issue involves the Vulkan backend. DX12 ❎ The issue involves the DX12 backend. labels Aug 20, 2022
@crud89 crud89 added this to the Alpha #03 milestone Aug 20, 2022
@crud89 crud89 self-assigned this Aug 20, 2022
@crud89 crud89 changed the title Fullscreen Allow to toggle full-screen mode. Aug 20, 2022
@crud89 crud89 marked this pull request as ready for review August 20, 2022 17:23
@crud89 crud89 merged commit f1a3ea7 into main Aug 20, 2022
@crud89 crud89 deleted the fullscreen branch August 20, 2022 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DX12 ❎ The issue involves the DX12 backend. Priority: Medium A issue with normal priority. Vulkan πŸŒ‹ The issue involves the Vulkan backend.

Projects

Status: v0.3.1

Development

Successfully merging this pull request may close these issues.

Resizing render targets fails, if target size is zero. Create fullscreen sample.

1 participant