- with the new order of things we need the software renderer to be always available.

This commit is contained in:
Christoph Oelckers 2018-04-03 20:14:26 +02:00
commit 9ba32cb994
12 changed files with 46 additions and 96 deletions

View file

@ -85,10 +85,12 @@ FSoftwareRenderer::FSoftwareRenderer()
InitSWColorMaps();
}
FSoftwareRenderer::~FSoftwareRenderer()
FRenderer *CreateSWRenderer()
{
return new FSoftwareRenderer;
}
void FSoftwareRenderer::PrecacheTexture(FTexture *tex, int cache)
{
bool isbgra = screen->IsBgra();