diff options
| author | Ellie Hermaszewska <ellieh@nvidia.com> | 2024-11-14 12:34:18 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-13 20:34:18 -0800 |
| commit | 7b570feed42976a6e787d79a70aaf8e667745e58 (patch) | |
| tree | 7f96139f9570de1e2c5747faf6ad489e029de535 /examples/model-viewer | |
| parent | fdf106b543c756eebca7e90fe839fdf1902cc381 (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/model-viewer')
| -rw-r--r-- | examples/model-viewer/main.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/model-viewer/main.cpp b/examples/model-viewer/main.cpp index 0b1167a11..8b75381be 100644 --- a/examples/model-viewer/main.cpp +++ b/examples/model-viewer/main.cpp @@ -25,12 +25,12 @@ // and parameter binding. // #include "examples/example-base/example-base.h" +#include "gfx-util/shader-cursor.h" +#include "platform/gui.h" +#include "platform/model.h" +#include "platform/vector-math.h" +#include "platform/window.h" #include "slang-gfx.h" -#include "tools/gfx-util/shader-cursor.h" -#include "tools/platform/gui.h" -#include "tools/platform/model.h" -#include "tools/platform/vector-math.h" -#include "tools/platform/window.h" #include <map> #include <sstream> |
