mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 12:42:34 +01:00
Switch to BGRA8 as the default swapchain format. (#3569)
This commit is contained in:
committed by
GitHub
parent
c37ba1db0f
commit
85d0b7ad3f
@@ -3606,7 +3606,7 @@ namespace bgfx
|
|||||||
}
|
}
|
||||||
|
|
||||||
Resolution::Resolution()
|
Resolution::Resolution()
|
||||||
: formatColor(TextureFormat::RGBA8)
|
: formatColor(TextureFormat::BGRA8)
|
||||||
, formatDepthStencil(TextureFormat::D24S8)
|
, formatDepthStencil(TextureFormat::D24S8)
|
||||||
, width(1280)
|
, width(1280)
|
||||||
, height(720)
|
, height(720)
|
||||||
|
|||||||
Reference in New Issue
Block a user