mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
buffered: Bug fix: Duplicated calls of resolvePendingPixels
This commit is contained in:
parent
d3613e13af
commit
4a7929cf71
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user