summaryrefslogtreecommitdiff
path: root/tools/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx')
-rw-r--r--tools/gfx/render.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/gfx/render.h b/tools/gfx/render.h
index eebeaa170..c95652cd0 100644
--- a/tools/gfx/render.h
+++ b/tools/gfx/render.h
@@ -13,6 +13,8 @@
#include "../../source/core/list.h"
#include "../../source/core/dictionary.h"
+#include "../../slang.h"
+
namespace gfx {
using Slang::RefObject;
@@ -25,8 +27,8 @@ using Slang::List;
typedef SlangResult Result;
// Had to move here, because Options needs types defined here
-typedef intptr_t Int;
-typedef uintptr_t UInt;
+typedef SlangInt Int;
+typedef SlangUInt UInt;
// pre declare types
class Surface;