buffered: Bug fix: Duplicated calls of resolvePendingPixels

This commit is contained in:
Hajime Hoshi 2020-06-25 04:08:24 +09:00
parent d3613e13af
commit 4a7929cf71

View File

@ -318,7 +318,6 @@ func (i *Image) DrawTriangles(src *Image, vertices []float32, indices []uint16,
for k, v := range uniforms {
switch v := v.(type) {
case *Image:
i.resolvePendingPixels(true)
us[k] = v.img
default:
us[k] = v