Fixes openglbook.com issue #18 - typo in code

See https://github.com/openglbook/openglbook.com/issues/18 for details.