| 14473 | } |
| 14474 | |
| 14475 | static void FormatTextureIDForDebugDisplay(char* buf, int buf_size, ImTextureID tex_id) |
| 14476 | { |
| 14477 | if (sizeof(tex_id) >= sizeof(void*)) |
| 14478 | ImFormatString(buf, buf_size, "0x%p", (void*)*(intptr_t*)(void*)&tex_id); |
| 14479 | else |
| 14480 | ImFormatString(buf, buf_size, "0x%04X", *(int*)(void*)&tex_id); |
| 14481 | } |
| 14482 | |
| 14483 | // [DEBUG] Display contents of ImDrawList |
| 14484 | void ImGui::DebugNodeDrawList(ImGuiWindow* window, ImGuiViewportP* viewport, const ImDrawList* draw_list, const char* label) |
no test coverage detected