summaryrefslogtreecommitdiffstats
path: root/tools/gfx/render.cpp
diff options
context:
space:
mode:
authorlucy96chen <47800040+lucy96chen@users.noreply.github.com>2022-08-04 16:59:28 -0700
committerGitHub <noreply@github.com>2022-08-04 16:59:28 -0700
commit12a846e8facf090aaeb68fcabf55867f5eaed747 (patch)
treecc7c70c447200c1b45f20efc47e43e17828ec84d /tools/gfx/render.cpp
parent11b29eff99910d55a54658b8a1d053cc4ec076fc (diff)
Split debug-layer into smaller files (#2344)
* checkpoint commit * debug-layer split, does not compile * Almost compiles, rebasing before making any further changes * everything compiles and passes tests locally * Added tools/gfx/debug-layer to premake and ran premake Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'tools/gfx/render.cpp')
-rw-r--r--tools/gfx/render.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gfx/render.cpp b/tools/gfx/render.cpp
index 2ec163469..b508e0fe8 100644
--- a/tools/gfx/render.cpp
+++ b/tools/gfx/render.cpp
@@ -2,7 +2,7 @@
#include "renderer-shared.h"
#include "../../source/core/slang-math.h"
#include "open-gl/render-gl.h"
-#include "debug-layer.h"
+#include "debug-layer/debug-device.h"
#include <cstring>
@@ -309,7 +309,7 @@ extern "C"
returnComPtr(outDevice, innerDevice);
return resultCode;
}
- RefPtr<DebugDevice> debugDevice = new DebugDevice();
+ RefPtr<debug::DebugDevice> debugDevice = new debug::DebugDevice();
debugDevice->baseObject = innerDevice;
returnComPtr(outDevice, debugDevice);
return resultCode;