b2d: for regular GR the results were only half-screen wide?

think this fix is more or less OK but might break something else
This commit is contained in:
Vince Weaver 2020-07-23 10:57:32 -04:00
parent 50f5333e73
commit a6212fcfbf

View File

@ -2070,6 +2070,7 @@ int savelofragment()
sprintf(outfile,"%s.SL2",hgrwork);
else
sprintf(outfile,"%s.DL2",hgrwork);
if (tags == 1) {
strcat(outfile,"#060400");
}
@ -2080,7 +2081,13 @@ int savelofragment()
for (y = 0; y< 48; y++) {
y2 = y;
for (x = 0; x < 40; x++) {
// VMW
if (lores==1) {
x2 = x;
}
else {
x2 = (x*2) + 1;
}
temp = dhrgetpixel(x2,y2);
setlopixel(temp,x,y,0);
}