mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Change foreign_library to foreign import
This commit is contained in:
+2
-2
@@ -1,9 +1,9 @@
|
||||
when ODIN_OS == "windows" {
|
||||
foreign_library lib "system:opengl32.lib"
|
||||
foreign import lib "system:opengl32.lib"
|
||||
import win32 "core:sys/windows.odin"
|
||||
import "core:sys/wgl.odin"
|
||||
} else when ODIN_OS == "linux" {
|
||||
foreign_library lib "system:gl"
|
||||
foreign import lib "system:gl"
|
||||
}
|
||||
|
||||
export "core:opengl_constants.odin"
|
||||
|
||||
Reference in New Issue
Block a user