software renderer: fix rendering of line polygons. fixes #350

This commit is contained in:
Arisotura
2019-06-11 03:10:32 +02:00
parent 09cfdc6e76
commit 3c70015da7
2 changed files with 9 additions and 6 deletions

View File

@ -66,6 +66,8 @@ typedef struct
bool IsShadowMask;
bool IsShadow;
int Type; // 0=polygon 1=horizontal line 2=vertical line 3=diagonal line 4=point
u32 VTop, VBottom; // vertex indices
s32 YTop, YBottom; // Y coords
s32 XTop, XBottom; // associated X coords