aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/_preload.odin2
-rw-r--r--core/opengl.odin2
-rw-r--r--core/os.odin4
3 files changed, 4 insertions, 4 deletions
diff --git a/core/_preload.odin b/core/_preload.odin
index 8924bf87c..a2c1ebe3d 100644
--- a/core/_preload.odin
+++ b/core/_preload.odin
@@ -169,7 +169,7 @@ Context :: struct #ordered {
user_index: int,
}
-thread_local __context: Context;
+#thread_local __context: Context;
DEFAULT_ALIGNMENT :: align_of([vector 4]f32);
diff --git a/core/opengl.odin b/core/opengl.odin
index 44ebc26c5..e76e63f06 100644
--- a/core/opengl.odin
+++ b/core/opengl.odin
@@ -1,6 +1,6 @@
#foreign_system_library lib "opengl32.lib" when ODIN_OS == "windows";
#import win32 "sys/windows.odin" when ODIN_OS == "windows";
-#include "opengl_constants.odin";
+#load "opengl_constants.odin";
Clear :: proc(mask: u32) #foreign lib "glClear";
ClearColor :: proc(r, g, b, a: f32) #foreign lib "glClearColor";
diff --git a/core/os.odin b/core/os.odin
index 0ce897bd7..d10b08bd2 100644
--- a/core/os.odin
+++ b/core/os.odin
@@ -1,3 +1,3 @@
-#include "os_windows.odin" when ODIN_OS == "windows";
-#include "os_x.odin" when ODIN_OS == "osx";
+#load "os_windows.odin" when ODIN_OS == "windows";
+#load "os_x.odin" when ODIN_OS == "osx";