Terrain texture bug

Im using a heightmap to render a simple terrain using vertex arrays and a display list.
But the texture is weird and when you move the camera the texture moves in strange way and get stretched.
http://w1.853.telia.com/~u85324201/terrain.png http://w1.853.telia.com/~u85324201/TerrainTest.zip

Looks ok with a 24Bit Z-Buffer, but you have some serious Z-Fighting with a 16Bit Z-Buffer.

Try adjusting your near and far clipping plane.


I didn’t think about the Z buffer, I thought that was caused by the texture or something