Add support for specifying a viewport out of screen bounds and fixed statusbar by doing just that!

This commit is contained in:
Magnus Norddahl 2016-11-18 01:58:39 +01:00
commit dbb6c7ca27
11 changed files with 68 additions and 68 deletions

View file

@ -148,10 +148,6 @@ void RenderPolyDecal::Render(const TriMatrix &worldToClip, DBaseDecal *decal, co
args.vcount = 4;
args.mode = TriangleDrawMode::Fan;
args.ccw = true;
args.clipleft = 0;
args.cliptop = 0;
args.clipright = viewwidth;
args.clipbottom = viewheight;
args.stenciltestvalue = 0;
args.stencilwritevalue = 1;
args.SetTexture(tex);