mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Merge pull request #1167 from Skytrias/patch-1
raylib linux - add system dependencies
This commit is contained in:
Vendored
+8
-2
@@ -18,7 +18,13 @@ when ODIN_OS == "windows" {
|
|||||||
"system:Shell32.lib",
|
"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" }
|
when ODIN_OS == "darwin" { foreign import lib "macos/libraylib.a" }
|
||||||
|
|
||||||
VERSION :: "3.7"
|
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)
|
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)
|
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
|
SetAudioStreamBufferSizeDefault :: proc(size: c.int) --- // Default size for new audio streams
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user