aboutsummaryrefslogtreecommitdiff
path: root/unicorn/FakeUnicorn.go
diff options
context:
space:
mode:
Diffstat (limited to 'unicorn/FakeUnicorn.go')
-rw-r--r--unicorn/FakeUnicorn.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/unicorn/FakeUnicorn.go b/unicorn/FakeUnicorn.go
index 3236842..85833c9 100644
--- a/unicorn/FakeUnicorn.go
+++ b/unicorn/FakeUnicorn.go
@@ -74,7 +74,7 @@ func (f *FakeUnicorn) Show() {
width, height := f.GetWidth(), f.GetHeight()
for x := uint8(0); x < width; x++ {
for y := uint8(0); y < height; y++ {
- r, g, b := rgb(f.pixels[x][y])
+ r, g, b := Rgb(f.pixels[x][y])
if err := f.renderer.SetDrawColor(r, g, b, uint8(255)); err != nil {
panic(err)
}