mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-07 11:31:39 +12:00
Move hasStencil
to regs.hpp
This commit is contained in:
parent
838d3f27f9
commit
5f07f77c94
2 changed files with 2 additions and 4 deletions
|
@ -150,6 +150,8 @@ namespace PICA {
|
|||
Depth24Stencil8 = 3,
|
||||
};
|
||||
|
||||
inline constexpr bool hasStencil(DepthFmt format) { return format == PICA::DepthFmt::Depth24Stencil8; }
|
||||
|
||||
// Size occupied by each pixel in bytes
|
||||
|
||||
// All formats are 16BPP except for RGBA8 (32BPP) and BGR8 (24BPP)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue