summaryrefslogtreecommitdiff
path: root/tools/graphics-app-framework/windows/win-window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/graphics-app-framework/windows/win-window.cpp')
-rw-r--r--tools/graphics-app-framework/windows/win-window.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/graphics-app-framework/windows/win-window.cpp b/tools/graphics-app-framework/windows/win-window.cpp
index 7433603cb..3bbf2575a 100644
--- a/tools/graphics-app-framework/windows/win-window.cpp
+++ b/tools/graphics-app-framework/windows/win-window.cpp
@@ -1,6 +1,8 @@
// win-window.cpp
#include "../window.h"
+#include "core/slang-smart-pointer.h"
+
#include <stdio.h>
#ifdef _MSC_VER
@@ -64,7 +66,7 @@ private:
}
};
-struct ApplicationContext
+struct ApplicationContext : public Slang::RefObject
{
HINSTANCE instance;
int showCommand = SW_SHOWDEFAULT;