graphics: Update comments

This commit is contained in:
Hajime Hoshi 2020-07-26 00:54:00 +09:00
parent 2fb5108bbe
commit 71aec36ef3

View File

@ -24,11 +24,9 @@ const (
// PreservedUniformVariablesNum represents the number of preserved uniform variables.
// Any shaders in Ebiten must have these uniform variables.
//
// The first one is for the viewport size.
// The second and the followings are for offsets of the second and the following images.
//
// All the preversed uniform variables are vec2 so far.
PreservedUniformVariablesNum = 1 + (ShaderImageNum - 1)
PreservedUniformVariablesNum = 1 + // the destination texture size
(ShaderImageNum - 1) // the offsets of the second and the following images
)
const (