mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-07 02:54:18 +00:00
Merge pull request #1167 from Skytrias/patch-1
raylib linux - add system dependencies
This commit is contained in:
10
vendor/raylib/raylib.odin
vendored
10
vendor/raylib/raylib.odin
vendored
@@ -18,7 +18,13 @@ when ODIN_OS == "windows" {
|
||||
"system:Shell32.lib",
|
||||
}
|
||||
}
|
||||
when ODIN_OS == "linux" { foreign import lib "linux/libraylib.a" }
|
||||
when ODIN_OS == "linux" {
|
||||
foreign import lib {
|
||||
"linux/libraylib.a",
|
||||
"system:dl",
|
||||
"system:pthread",
|
||||
}
|
||||
}
|
||||
when ODIN_OS == "darwin" { foreign import lib "macos/libraylib.a" }
|
||||
|
||||
VERSION :: "3.7"
|
||||
@@ -1393,4 +1399,4 @@ foreign lib {
|
||||
SetAudioStreamVolume :: proc(stream: AudioStream, volume: f32) --- // Set volume for audio stream (1.0 is max level)
|
||||
SetAudioStreamPitch :: proc(stream: AudioStream, pitch: f32) --- // Set pitch for audio stream (1.0 is base level)
|
||||
SetAudioStreamBufferSizeDefault :: proc(size: c.int) --- // Default size for new audio streams
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user