graphics: Add comments

This commit is contained in:
Hajime Hoshi 2016-02-29 01:55:29 +09:00
parent 321f5e376e
commit 568dbe9603

View File

@ -40,6 +40,6 @@ func glFilter(c *opengl.Context, filter Filter) opengl.Filter {
type CompositionMode int type CompositionMode int
const ( const (
CompositionModeSourceOver CompositionMode = CompositionMode(opengl.CompositionModeSourceOver) CompositionModeSourceOver CompositionMode = CompositionMode(opengl.CompositionModeSourceOver) // regular alpha blending
CompositionModeLighter = CompositionMode(opengl.CompositionModeLighter) CompositionModeLighter = CompositionMode(opengl.CompositionModeLighter) // sum of source and destination (a.k.a. 'plus' or 'additive')
) )