mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-01 03:19:10 +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
include/renderer_gl
|
@ -95,10 +95,6 @@ struct DepthBuffer {
|
|||
range = Interval<u32>(loc, (u32)endLoc);
|
||||
}
|
||||
|
||||
bool hasStencil() {
|
||||
return format == PICA::DepthFmt::Depth24Stencil8;
|
||||
}
|
||||
|
||||
void allocate() {
|
||||
// Create texture for the FBO, setting up filters and the like
|
||||
// Reading back the current texture is slow, but allocate calls should be few and far between.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue