Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImGuiWS::setTexture pass value as TextureId < 0 can not display image. #28

Open
Eragon-Brisingr opened this issue Nov 1, 2023 · 0 comments

Comments

@Eragon-Brisingr
Copy link

  1. https://github.com/ggerganov/incppect/blob/ea0528467cc90ff401e4ba6f926e54fee8cc0ce8/src/incppect.cpp#L145
    Get error value when pass value as -1, maybe check the case of "my_id[%d]"?

  2. var tex_id = incppect.get_int32('imgui.texture_id[%d]', i);

    var texture_id = pi[1]; draw_data_offset += 4;

    int32 is incompatible with uint32. I use (pi[1] << 0) let uint32 -> int32.

  3. Is there any way to use 64-bit texture_id?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant