1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

sokol: update to floooh/sokol from 27-Dec-2021 (4ff3ed7) (#13044)

This commit is contained in:
Larpon
2022-01-05 17:23:14 +01:00
committed by GitHub
parent 70a0aab72b
commit 3ae4513e2e
12 changed files with 2611 additions and 2147 deletions

View File

@@ -136,6 +136,12 @@ pub fn frame_count() u64 {
return C.sapp_frame_count()
}
// get an averaged/smoothed frame duration in seconds
[inline]
pub fn frame_duration() f64 {
return C.sapp_frame_duration()
}
// write string into clipboard
[inline]
pub fn set_clipboard_string(str &char) {