Fix compile errors
This commit is contained in:
parent
e90b73539e
commit
7b4d9675c9
12 changed files with 18 additions and 18 deletions
|
|
@ -199,9 +199,9 @@ void DCanvas::DrawTextureParms(FTexture *img, DrawParms &parms)
|
|||
bool visible;
|
||||
FDynamicColormap *basecolormap = nullptr;
|
||||
if (viewport->RenderTarget->IsBgra())
|
||||
visible = drawerargs.SetPatchStyle(parms.style, parms.Alpha, -1, parms.fillcolor, basecolormap);
|
||||
visible = drawerargs.SetStyle(parms.style, parms.Alpha, -1, parms.fillcolor, basecolormap);
|
||||
else
|
||||
visible = drawerargs.SetPatchStyle(parms.style, parms.Alpha, 0, parms.fillcolor, basecolormap);
|
||||
visible = drawerargs.SetStyle(parms.style, parms.Alpha, 0, parms.fillcolor, basecolormap);
|
||||
|
||||
double x0 = parms.x - parms.left * parms.destwidth / parms.texwidth;
|
||||
double y0 = parms.y - parms.top * parms.destheight / parms.texheight;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue