I have a funky feeling you're reading NeHe? Try this:
https://github.com/AndrejMitrovic/DNeonHelium/blob/master/Samples/win32/lesson25.d#L87
I have a funky feeling you're reading NeHe? Try this:
https://github.com/AndrejMitrovic/DNeonHelium/blob/master/Samples/win32/lesson25.d#L87