aboutsummaryrefslogtreecommitdiff
path: root/source/Material.cpp
diff options
context:
space:
mode:
authorhnOsmium0001 <[email protected]>2022-04-25 20:22:07 -0700
committerhnOsmium0001 <[email protected]>2022-04-25 20:22:07 -0700
commitf54370de7e4214cb7813d26b1a39a8f6e42b7b56 (patch)
tree20913b4099b77af933fcd2ebb4e73f53b366ad8f /source/Material.cpp
parentc8ebee643f23c34ff57f69f8dfcf1903b59ea9d1 (diff)
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())) {