Can now pass the heightmap texture to the shader.
Fixed texture weirdness problem.

Turns out that the PGM file was big-endian. x86 on the other hand is
little-endian (TIL).