Draw 8-bit software renderer with polybackend (well, sort of!)
This commit is contained in:
parent
4a2b763aaa
commit
44c2223c2f
6 changed files with 10 additions and 15 deletions
|
|
@ -101,6 +101,7 @@ void PolyHardwareTexture::AllocateBuffer(int w, int h, int texelsize)
|
|||
{
|
||||
mCanvas.reset(new DCanvas(0, 0, texelsize == 4));
|
||||
mCanvas->Resize(w, h, false);
|
||||
bufferpitch = mCanvas->GetPitch();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue