Implement BGRA8 framebuffer format
This commit is contained in:
parent
1d98027a0e
commit
a6a73d8892
3 changed files with 4 additions and 0 deletions
|
@ -18,6 +18,7 @@ namespace Tegra {
|
|||
u32 FramebufferConfig::BytesPerPixel(PixelFormat format) {
|
||||
switch (format) {
|
||||
case PixelFormat::ABGR8:
|
||||
case PixelFormat::BGRA8:
|
||||
return 4;
|
||||
default:
|
||||
return 4;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue