Error in maketables procuced double lines.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@107
This commit is contained in:
parent
92105f3caf
commit
913513179e
1 changed files with 2 additions and 2 deletions
|
@ -67,13 +67,13 @@ static void MakeTables(void) {
|
|||
Bitu i;Bit32u c,a;
|
||||
c=0;a=(render.src.width<<16)/gfx_info.width;
|
||||
for (i=0;i<gfx_info.width;i++) {
|
||||
render.stretch_x[i]=c>> 16;
|
||||
c=(c&0xffff)+a;
|
||||
render.stretch_x[i]=c>> 16;
|
||||
}
|
||||
c=0;a=(render.src.height<<16)/gfx_info.height;
|
||||
for (i=0;i<gfx_info.height;i++) {
|
||||
render.stretch_y[i]=(c>> 16)*render.src.pitch;
|
||||
c=(c&0xffff)+a;
|
||||
render.stretch_y[i]=(c>>16)*render.src.pitch;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue