remove debug print

This commit is contained in:
faiface 2017-01-22 14:42:54 +01:00
parent f16eb8271e
commit e0e59f1d96
1 changed files with 0 additions and 2 deletions

View File

@ -1,7 +1,6 @@
package pixelgl
import (
"fmt"
"runtime"
"github.com/faiface/mainthread"
@ -113,7 +112,6 @@ func (t *Texture) Pixels(x, y, w, h int) []uint8 {
for i := 0; i < h; i++ {
row := pixels[(i+y)*t.width*4+x*4 : (i+y)*t.width*4+(x+w)*4]
subRow := subPixels[i*w*4 : (i+1)*w*4]
fmt.Println((i+y)*t.width*4+x*4, (i+y)*t.width*4+(x+w)*4)
copy(subRow, row)
}
return subPixels