Remove errorneous arguments to gl functions.

They are silently ignored on Linux and OSX, but crash
the game on Windows.