ggerganov/imgui-ws

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

Eragon-Brisingr opened this issue · 0 comments

  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?