Implemented Trio64 polygon fill commands. Fixes issues with Paintbrush on Windows 3.1.

This commit is contained in:
SarahW 2018-04-12 21:26:45 +01:00
commit 4cea5cc59f
4 changed files with 306 additions and 21 deletions

View file

@ -15,9 +15,6 @@
#ifdef MIN
#undef MIN
#endif
#ifdef ABS
#undef ABS
#endif
#ifdef CLAMP
#undef CLAMP
#endif
@ -3962,8 +3959,6 @@ enum
case 0xf: dst_dat = 0xffff; break; \
}
#define ABS(x) ((x) > 0 ? (x) : -(x))
static void blit_start(voodoo_t *voodoo)
{
uint64_t dat64;