mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
sokol: type alias all sgl structs, support sgl_context (#13018)
This commit is contained in:
@@ -11,6 +11,7 @@ pub enum Backend {
|
||||
dummy
|
||||
}
|
||||
|
||||
// PixelFormat is C.sg_pixel_format
|
||||
pub enum PixelFormat {
|
||||
_default // value 0 reserved for default-init
|
||||
@none
|
||||
@@ -216,6 +217,7 @@ pub enum CullMode {
|
||||
_num
|
||||
}
|
||||
|
||||
// FaceWindin is C.sg_face_winding
|
||||
pub enum FaceWinding {
|
||||
_facewinding_default // value 0 reserved for default-init
|
||||
facewinding_ccw
|
||||
|
||||
Reference in New Issue
Block a user