mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-30 19:30:06 +00:00
Merging from gingerBill's master
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
+1
-1
@@ -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";
|
||||
|
||||
+1
-2
@@ -1,4 +1,3 @@
|
||||
#include "os_windows.odin" when ODIN_OS == "windows";
|
||||
#include "os_x.odin" when ODIN_OS == "osx";
|
||||
#include "os_linux.odin" when ODIN_OS == "linux";
|
||||
|
||||
#include "os_linux.odin" when ODIN_OS == "linux";
|
||||
Reference in New Issue
Block a user