Skip to content
This repository was archived by the owner on Aug 19, 2019. It is now read-only.
This repository was archived by the owner on Aug 19, 2019. It is now read-only.

Failure to clear windowFullscreen could result in desktop resize to random size. #122

@cheako

Description

@cheako

At https://github.com/KhronosGroup/Vulkan-Samples/blob/master/samples/apps/atw/atw_vulkan.c?ts=4#L4299 in the case of a false return code from #L4134 ,where current desktop size is still unset, results in these unset values later being used to recover the desktop size at #L4249 .

Clearing windowFullscreen would prevent this, but perhaps it would be better to bail in that case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions