Remove trace

This commit is contained in:
Ivan Izaguirre 2020-10-04 16:59:00 +02:00
parent 3c59e9f3e4
commit fddc9e2f6d
2 changed files with 1 additions and 5 deletions

View File

@ -110,10 +110,8 @@ func SDLRun(a *izapple2.Apple2) {
}
renderer.Clear()
w, h := window.GetSize()
renderer.Copy(texture, nil, &sdl.Rect{X: 0, Y: 0, W: w, H: h})
renderer.Copy(texture, nil, nil)
renderer.Present()
surface.Free()
texture.Destroy()
}

View File

@ -198,8 +198,6 @@ func mixSnapshots(top, bottom *image.RGBA) *image.RGBA {
bottomWidth := bottom.Bounds().Dx()
factor := (topWidth - 4) / (bottomWidth - 4)
fmt.Printf("%v, %v, %v\n", topWidth, bottomWidth, factor)
// Copy bottom's bottom on top's bottom, applying the factor
for y := hiResHeightMixed; y < hiResHeight; y++ {
for x := 0; x < topWidth; x++ {