mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Remove the use of import within when
This commit is contained in:
Vendored
+2
-2
@@ -5,9 +5,9 @@ package vulkan
|
||||
|
||||
import "core:c"
|
||||
|
||||
import win32 "core:sys/windows"
|
||||
_ :: win32
|
||||
when ODIN_OS == .Windows {
|
||||
import win32 "core:sys/windows"
|
||||
|
||||
HINSTANCE :: win32.HINSTANCE
|
||||
HWND :: win32.HWND
|
||||
HMONITOR :: win32.HMONITOR
|
||||
|
||||
Reference in New Issue
Block a user