8000 Wrong variable use: 'commandbuffer', in the "Rendering_and_presentation" part · Issue #283 · Overv/VulkanTutorial · GitHub
[go: up one dir, main page]

Skip to content
Wrong variable use: 'commandbuffer', in the "Rendering_and_presentation" part #283
Closed
@LuncyBloont

Description

@LuncyBloont

There is a mistake at Drawing_a_triangle/Drawing/Rendering_and_presentation/Submitting_the_command_buffer ("https://vulkan-tutorial.com/Drawing_a_triangle/Drawing/Rendering_and_presentation"). link

submitInfo.commandBufferCount = 1;
submitInfo.pCommandBuffers = commandBuffer;

I think submitInfo.pCommandBuffers is a pointer of VkCommandBuffer

So it can be fixed as:

submitInfo.commandBufferCount = 1;
submitInfo.pCommandBuffers = &commandBuffer;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0