aboutsummaryrefslogtreecommitdiff
path: root/source/Material.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Material.cpp')
-rw-r--r--source/Material.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Material.cpp b/source/Material.cpp
index abb2f57..3d227f6 100644
--- a/source/Material.cpp
+++ b/source/Material.cpp
@@ -346,7 +346,7 @@ void IresMaterial::ShowEditor(EditorInstance& editor) {
if (shader) {
shader->GetIres()->ShowReference(editor);
} else {
- IresObject::ShowNullReference(editor, KD_Shader);
+ IresObject::ShowReferenceNull(editor);
}
if (ImGui::BeginDragDropTarget()) {
if (auto payload = ImGui::AcceptDragDropPayload(ToString(KD_Shader).data())) {