From 7b570feed42976a6e787d79a70aaf8e667745e58 Mon Sep 17 00:00:00 2001 From: Ellie Hermaszewska Date: Thu, 14 Nov 2024 12:34:18 +0800 Subject: 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 --- examples/shader-toy/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'examples/shader-toy/main.cpp') diff --git a/examples/shader-toy/main.cpp b/examples/shader-toy/main.cpp index 38212099e..1ab85c0b2 100644 --- a/examples/shader-toy/main.cpp +++ b/examples/shader-toy/main.cpp @@ -19,12 +19,12 @@ using Slang::ComPtr; // this layer is *not* required or assumed when using the Slang language, // compiler, and API. // +#include "core/slang-basic.h" #include "examples/example-base/example-base.h" +#include "gfx-util/shader-cursor.h" +#include "platform/performance-counter.h" +#include "platform/window.h" #include "slang-gfx.h" -#include "source/core/slang-basic.h" -#include "tools/gfx-util/shader-cursor.h" -#include "tools/platform/performance-counter.h" -#include "tools/platform/window.h" #include -- cgit v1.2.3