mirror of
https://github.com/holub/mame
synced 2025-06-05 12:26:35 +03:00
small wbuffer priority hack to make things more usable (things are generally in the right order now)
This commit is contained in:
parent
91a7d9908b
commit
0c5ebcb2ee
@ -1348,7 +1348,7 @@ void render_hline(bitmap_t *bitmap, texinfo *ti, int y, float xl, float xr, floa
|
|||||||
wbufline = &wbuffer[y][xxl];
|
wbufline = &wbuffer[y][xxl];
|
||||||
|
|
||||||
while(xxl < xxr) {
|
while(xxl < xxr) {
|
||||||
if(wl > *wbufline) {
|
if((wl < *wbufline) || *wbufline==0) {
|
||||||
UINT32 c;
|
UINT32 c;
|
||||||
float u = ul/wl;
|
float u = ul/wl;
|
||||||
float v = vl/wl;
|
float v = vl/wl;
|
||||||
@ -1600,7 +1600,7 @@ static void testdrawscreen(const running_machine *machine,bitmap_t *bitmap,const
|
|||||||
|
|
||||||
ns=state_ta.grab[rs].teststrips_size;
|
ns=state_ta.grab[rs].teststrips_size;
|
||||||
if(ns)
|
if(ns)
|
||||||
memset(wbuffer, 0, sizeof(wbuffer));
|
memset(wbuffer, 0x00, sizeof(wbuffer));
|
||||||
|
|
||||||
for (cs=0;cs < ns;cs++)
|
for (cs=0;cs < ns;cs++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user