Skip to content

ImGui.image() should expect long instead of int for textureId. #185

@enesaltinkaya

Description

@enesaltinkaya

Version

1.86.10

What happened?

While using with Vulkan, ImGui::Image expects a VkDescriptorSet as it's first parameter, which is a pointer, which is 64bits.

Our ImGui.image() expects an int which is 32bits. So it is not possible to render an image if using Vulkan at the moment.

If I'm mistaken and there is a way to render images while using Vulkan please let me know.
Thanks.

Reproduction

Simply casting wont work as you can see.

image

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions