diff --git a/internal/pixels/pixels.go b/internal/pixels/pixels.go index c3b3f1a57..0c71729cc 100644 --- a/internal/pixels/pixels.go +++ b/internal/pixels/pixels.go @@ -177,6 +177,7 @@ func (p *Pixels) CreateImage(context *opengl.Context, width, height int, filter return nil, err } } + p.image = gimg p.basePixels, err = gimg.Pixels(context) if err != nil { return nil, err