- Replace subsector gbuffer in softpoly with a zbuffer
This commit is contained in:
parent
4483d665d4
commit
bf38fd57b0
21 changed files with 223 additions and 167 deletions
|
|
@ -38,13 +38,13 @@
|
|||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
PolySubsectorGBuffer *PolySubsectorGBuffer::Instance()
|
||||
PolyZBuffer *PolyZBuffer::Instance()
|
||||
{
|
||||
static PolySubsectorGBuffer buffer;
|
||||
static PolyZBuffer buffer;
|
||||
return &buffer;
|
||||
}
|
||||
|
||||
void PolySubsectorGBuffer::Resize(int newwidth, int newheight)
|
||||
void PolyZBuffer::Resize(int newwidth, int newheight)
|
||||
{
|
||||
width = newwidth;
|
||||
height = newheight;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue