Skip to content

Commit 55e4409

Browse files
fix imgui
1 parent 1b80bfb commit 55e4409

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/imgui_window.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ class ImGuiWindow::Impl {
605605
auto clip_idx = static_cast<uint>(_clip_rects.size());
606606
_clip_rects.emplace_back(make_float4(clip_min, clip_max));
607607
auto tex_id = [this, cmd] {
608-
auto t = cmd->TexRef._TexID;
608+
auto t = cmd->GetTexID();
609609
if (t != 0u && !_active_textures.contains(t)) {
610610
LUISA_WARNING_WITH_LOCATION(
611611
"Using an unregistered texture (id = {}). "

0 commit comments

Comments
 (0)