- changed voxel remapping to make a copy instead of destroying the original.
With live renderer switching both sets of data are needed.
This commit is contained in:
parent
2f96d3c61a
commit
942460ba55
9 changed files with 44 additions and 26 deletions
|
|
@ -188,15 +188,6 @@ void FSoftwareRenderer::RenderView(player_t *player)
|
|||
FCanvasTextureInfo::UpdateAll();
|
||||
}
|
||||
|
||||
void FSoftwareRenderer::RemapVoxels()
|
||||
{
|
||||
for (unsigned i=0; i<Voxels.Size(); i++)
|
||||
{
|
||||
Voxels[i]->CreateBgraSlabData();
|
||||
Voxels[i]->Remap();
|
||||
}
|
||||
}
|
||||
|
||||
void FSoftwareRenderer::WriteSavePic (player_t *player, FileWriter *file, int width, int height)
|
||||
{
|
||||
DCanvas *pic = new DSimpleCanvas (width, height, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue