mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 12:08:58 +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 {
|
for k, v := range uniforms {
|
||||||
switch v := v.(type) {
|
switch v := v.(type) {
|
||||||
case *Image:
|
case *Image:
|
||||||
i.resolvePendingPixels(true)
|
|
||||||
us[k] = v.img
|
us[k] = v.img
|
||||||
default:
|
default:
|
||||||
us[k] = v
|
us[k] = v
|
||||||
|
Loading…
Reference in New Issue
Block a user