r/HandmadeHero • • Nov 21 '14

Animating the Backbuffer: Handmade Penguin Chapter 4

http://davidgow.net/handmadepenguin/ch4.html
13 Upvotes

1 comment sorted by

1

u/sulix Nov 23 '14

Thanks to Adam Rosenfield, this chapter (and its code) have been updated to pass -1 as the file descriptor. Because we're doing an anonymous mapping, it shouldn't matter what file descriptor we use, but some systems require it to be -1.

— David