mirror of
https://git.citron-emu.org/Citron/Emulator.git
synced 2025-12-17 19:37:03 +00:00
renderer_opengl: Implement RenderTargetFormat::RG8_UNORM.
- Used by Breath of the Wild.
This commit is contained in:
parent
fecffeb0dd
commit
c56a0e3c34
4 changed files with 61 additions and 26 deletions
|
|
@ -67,6 +67,7 @@ u32 RenderTargetBytesPerPixel(RenderTargetFormat format) {
|
|||
case RenderTargetFormat::R16_UINT:
|
||||
case RenderTargetFormat::R16_SINT:
|
||||
case RenderTargetFormat::R16_FLOAT:
|
||||
case RenderTargetFormat::RG8_UNORM:
|
||||
case RenderTargetFormat::RG8_SNORM:
|
||||
return 2;
|
||||
case RenderTargetFormat::R8_UNORM:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue