- removed vid_hw2d CVar.

This commit is contained in:
Christoph Oelckers 2018-03-27 17:58:25 +02:00
commit 0c3635e22c
8 changed files with 1 additions and 38 deletions

View file

@ -63,7 +63,6 @@
void PeekThreadedErrorPane();
#endif
EXTERN_CVAR(Bool, r_shadercolormaps)
EXTERN_CVAR(Int, r_clearbuffer)
CVAR(Bool, r_scene_multithreaded, false, 0);
@ -164,13 +163,6 @@ namespace swrenderer
MainThread()->Viewport->viewpoint.camera->renderflags = savedflags;
interpolator.RestoreInterpolations();
// If we don't want shadered colormaps, NULL it now so that the
// copy to the screen does not use a special colormap shader.
if (!r_shadercolormaps && !MainThread()->Viewport->RenderTarget->IsBgra())
{
CameraLight::Instance()->ClearShaderColormap();
}
}
void RenderScene::RenderPSprites()