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

examples: add port of simple triangle sokol sample (#13298)

This commit is contained in:
Larpon
2022-01-27 20:16:00 +01:00
committed by GitHub
parent faaa7035c4
commit 41b9b2988a
8 changed files with 227 additions and 8 deletions

View File

@@ -11,6 +11,15 @@ fn C.sapp_widthf() f32
fn C.sapp_height() int
fn C.sapp_heightf() f32
// get default framebuffer color pixel format
fn C.sapp_color_format() int
// get default framebuffer depth pixel format
fn C.sapp_depth_format() int
// get default framebuffer sample count
fn C.sapp_sample_count() int
// returns true when high_dpi was requested and actually running in a high-dpi scenario
fn C.sapp_high_dpi() bool