aboutsummaryrefslogtreecommitdiff
path: root/source/Material.cpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-04-25 20:22:07 -0700
committerrtk0c <[email protected]>2022-04-25 20:22:07 -0700
commit855da86feae1a5cc14dc2d486ccf115f484dbc2e (patch)
tree8284c6a6bdfb1a919eb1a22f466f4180a329c7f3 /source/Material.cpp
parentd78a55de5003dbb040f1d1c369409e63a2c806d8 (diff)
Changeset: 16 Initial work on rendering sprites to screen
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())) {