change Context to a field (instead of embed) in ContextHolder

This commit is contained in:
faiface 2016-12-02 22:57:17 +01:00
parent 888e69899e
commit fc7fda188f
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ func (c Context) WithShader(s *Shader) Context {
// ContextHolder is a root Doer with no parent. It simply forwards a context to a child.
type ContextHolder struct {
Context
Context Context
}
// Do calls sub and passes it the held context.