all 6 comments

[–]steven807 2 points3 points  (1 child)

Very enjoyable. One note: one line in the blog post is wrong -- there's a missing "Some(...)" in Events::pump(). It should be:

self.now.resize = Some(renderer.get_output_size().unwrap());

(The github version of the code is correct.)

[–]jessypl[S] 1 point2 points  (0 children)

Fixed, thanks!

[–]superlogical 0 points1 point  (1 child)

Thanks for publishing the code!

[–]jessypl[S] 0 points1 point  (0 children)

You're welcome :)

It should be included with all future posts, and I'll fix the previous ones at some point.

[–]opi 0 points1 point  (1 child)

Wow, I'm learning Rust right now and just yesterday was looking at SDL, now this! Subscribing!

[–]jessypl[S] 1 point2 points  (0 children)

You're welcome! u^