From 568dbe9603579caeefd984e52e98715d52246995 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Mon, 29 Feb 2016 01:55:29 +0900 Subject: [PATCH] graphics: Add comments --- graphics.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graphics.go b/graphics.go index 6ac67b6de..ea93f8a14 100644 --- a/graphics.go +++ b/graphics.go @@ -40,6 +40,6 @@ func glFilter(c *opengl.Context, filter Filter) opengl.Filter { type CompositionMode int const ( - CompositionModeSourceOver CompositionMode = CompositionMode(opengl.CompositionModeSourceOver) - CompositionModeLighter = CompositionMode(opengl.CompositionModeLighter) + CompositionModeSourceOver CompositionMode = CompositionMode(opengl.CompositionModeSourceOver) // regular alpha blending + CompositionModeLighter = CompositionMode(opengl.CompositionModeLighter) // sum of source and destination (a.k.a. 'plus' or 'additive') )