From ba62db3cd05dd62f2b05a1f8821a851c5524022f Mon Sep 17 00:00:00 2001 From: Olivier Berthonneau Date: Thu, 27 May 2021 22:08:01 -0600 Subject: [PATCH] Update loading-images with correct correct 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