From 9495046876b434eda56e035404c462bcfdd72a54 Mon Sep 17 00:00:00 2001 From: Olivier Berthonneau Date: Fri, 28 May 2021 05:03:13 -0600 Subject: [PATCH] Update loading-images with correct correct (#10) Line 51 seems to have been a copy-paste of line 48. BPM should be PNG in this comment. --- examples/loading-images/loading-images.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/loading-images/loading-images.go b/examples/loading-images/loading-images.go index c61cbc0..43ec040 100644 --- a/examples/loading-images/loading-images.go +++ b/examples/loading-images/loading-images.go @@ -48,7 +48,7 @@ func run() (err error) { // Draw the BMP image on the first half of the window bmpImage.BlitScaled(nil, surface, &sdl.Rect{X: 0, Y: 0, W: 400, H: 400}) - // Draw the BMP image on the first half of the window + // Draw the PNG image on the first half of the window pngImage.BlitScaled(nil, surface, &sdl.Rect{X: 400, Y: 0, W: 400, H: 400}) // Update the window surface with what we have drawn