Skip to content

Tutorial step results in non compiling code #380

@MontyBlenheim

Description

@MontyBlenheim

In https://docs.vulkan.org/tutorial/latest/03_Drawing_a_triangle/00_Setup/04_Logical_device_and_queues.html#_retrieving_queue_handles users are instructed to add a new class member:
vk::raii::Queue graphicsQueue;

However this results in the sample code failing to compile because the default constructor of Queue is deleted. It should instead follow previous example steps and be:
vk::raii::Queue graphicsQueue = nullptr;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions