sokol: define a pixel color format (#10951)
parent
e246ed9818
commit
8a097293a8
|
@ -27,6 +27,7 @@ pub fn create_desc() C.sg_desc {
|
||||||
context: C.sg_context_desc{
|
context: C.sg_context_desc{
|
||||||
metal: metal_desc
|
metal: metal_desc
|
||||||
d3d11: d3d11_desc
|
d3d11: d3d11_desc
|
||||||
|
color_format: .bgra8
|
||||||
}
|
}
|
||||||
image_pool_size: 1000
|
image_pool_size: 1000
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue