aboutsummaryrefslogtreecommitdiff
path: root/unicorn/FakeUnicorn2.go
diff options
context:
space:
mode:
Diffstat (limited to 'unicorn/FakeUnicorn2.go')
-rw-r--r--unicorn/FakeUnicorn2.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/unicorn/FakeUnicorn2.go b/unicorn/FakeUnicorn2.go
index 27629d2..1b53376 100644
--- a/unicorn/FakeUnicorn2.go
+++ b/unicorn/FakeUnicorn2.go
@@ -1,3 +1,5 @@
+// +build linux,386 linux,amd64
+
package unicorn
import (
@@ -37,6 +39,10 @@ func (u *FakeUnicorn2) renderImage(im image.Image) {
u.renderer.Present()
}
+func (u *FakeUnicorn2) StartRender() chan bool {
+ return u.StartRenderBase(u.renderImage)
+}
+
func NewUnicorn2() (*FakeUnicorn2, error) {
baseFake, err := NewBaseFakeUnicorn(300, 300)
if err != nil {