summaryrefslogtreecommitdiffstats
path: root/examples/example-base/example-base.h
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2024-11-14 12:34:18 +0800
committerGitHub <noreply@github.com>2024-11-13 20:34:18 -0800
commit7b570feed42976a6e787d79a70aaf8e667745e58 (patch)
tree7f96139f9570de1e2c5747faf6ad489e029de535 /examples/example-base/example-base.h
parentfdf106b543c756eebca7e90fe839fdf1902cc381 (diff)
Correct include dir for libslang (#5539)
This stops adding the repo root to the include path for anything linking with slang. This enabled a bunch of convenient includes, but might lead to confusing behavior for anyone including slang. Not to mention differences including it from an install vs source. Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'examples/example-base/example-base.h')
-rw-r--r--examples/example-base/example-base.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/example-base/example-base.h b/examples/example-base/example-base.h
index c10231c14..0cb3de7e9 100644
--- a/examples/example-base/example-base.h
+++ b/examples/example-base/example-base.h
@@ -1,10 +1,10 @@
#pragma once
+#include "core/slang-basic.h"
+#include "core/slang-io.h"
+#include "platform/window.h"
#include "slang-gfx.h"
-#include "source/core/slang-basic.h"
-#include "source/core/slang-io.h"
#include "test-base.h"
-#include "tools/platform/window.h"
#ifdef _WIN32
void _Win32OutputDebugString(const char* str);