mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 12:08:58 +01:00
internal/restorable: change the naming convention: Num -> Count
This commit is contained in:
parent
921aeb4ea7
commit
7bf179472b
@ -403,8 +403,8 @@ func (i *Image) appendDrawTrianglesHistory(srcs [graphics.ShaderImageCount]*Imag
|
|||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Would it be possible to merge draw image history items?
|
// TODO: Would it be possible to merge draw image history items?
|
||||||
const maxDrawTrianglesHistoryNum = 1024
|
const maxDrawTrianglesHistoryCount = 1024
|
||||||
if len(i.drawTrianglesHistory)+1 > maxDrawTrianglesHistoryNum {
|
if len(i.drawTrianglesHistory)+1 > maxDrawTrianglesHistoryCount {
|
||||||
i.makeStale()
|
i.makeStale()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user