- Added thread safety to texture loading in the software renderer
This commit is contained in:
parent
00f6ed45a2
commit
a663f71a9f
12 changed files with 62 additions and 15 deletions
|
|
@ -59,7 +59,7 @@ namespace swrenderer
|
|||
}
|
||||
|
||||
drawerargs.SetSolidColor(3);
|
||||
drawerargs.SetTexture(Thread->Viewport.get(), texture);
|
||||
drawerargs.SetTexture(Thread, texture);
|
||||
|
||||
double planeang = (pl->xform.Angle + pl->xform.baseAngle).Radians();
|
||||
double xstep, ystep, leftxfrac, leftyfrac, rightxfrac, rightyfrac;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue