mirror of
https://github.com/holub/mame
synced 2025-04-28 03:02:52 +03:00
Revert "poly.h: remove old compiler workaround (nw)"
This reverts commit 18a023327a
.
This commit is contained in:
parent
ddecfa3860
commit
b6cd283926
@ -718,6 +718,12 @@ uint32_t poly_manager<_BaseType, _ObjectData, _MaxParams, _MaxPolys>::render_tri
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else // GCC 4.7.0 incorrectly claims these are uninitialized; humor it by initializing in the (hopefully rare) zero parameter case
|
||||||
|
{
|
||||||
|
param_start[0] = _BaseType(0.0);
|
||||||
|
param_dpdx[0] = _BaseType(0.0);
|
||||||
|
param_dpdy[0] = _BaseType(0.0);
|
||||||
|
}
|
||||||
|
|
||||||
// compute the X extents for each scanline
|
// compute the X extents for each scanline
|
||||||
int32_t pixels = 0;
|
int32_t pixels = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user