mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +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?
|
||||
const maxDrawTrianglesHistoryNum = 1024
|
||||
if len(i.drawTrianglesHistory)+1 > maxDrawTrianglesHistoryNum {
|
||||
const maxDrawTrianglesHistoryCount = 1024
|
||||
if len(i.drawTrianglesHistory)+1 > maxDrawTrianglesHistoryCount {
|
||||
i.makeStale()
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user