mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 13:07:26 +01:00
go vet error check
This commit is contained in:
parent
6a8c00e0aa
commit
ced0c62827
@ -218,7 +218,9 @@ func (g *Graphics) DrawTriangles(dstIDs [graphics.ShaderDstImageCount]graphicsdr
|
|||||||
if firstTarget == -1 {
|
if firstTarget == -1 {
|
||||||
firstTarget = i
|
firstTarget = i
|
||||||
}
|
}
|
||||||
dst.ensureFramebuffer()
|
if err := dst.ensureFramebuffer(); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
dsts[i] = dst
|
dsts[i] = dst
|
||||||
targetCount++
|
targetCount++
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user