From 8c70eb71cc88447b506225b74d73145f83e4cf0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20F=2E=20R=C3=B8dseth?= Date: Thu, 4 Jan 2024 18:50:50 +0100 Subject: [PATCH] Update documentation --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8d7c5f2..583bf4a 100644 --- a/README.md +++ b/README.md @@ -23,9 +23,9 @@ Concurrent software rendering, triangle rasterization and pixel buffer manipulat ## Getting started -This simple program imports pixelpusher, sets up a callback function for drawing pixels to `gfx.Pixels`, creates a `pixelpusher.Config` struct and then calls the `.Run` function. The window title is `Red Pixel`: +This program imports `pixelpusher`, sets up a callback function for drawing pixels to the `gfx.Pixels` slice, creates a `pixelpusher.Config` struct and then calls the `.Run` function. The window title is `Red Pixel`: -``` +```go package main import (