This might sound like a silly question.... but your are creating the terrain & texturing it outside the main-loop aren't you?
Only I've done silly things like place something that only needs doing once in the main-loop before & it ends up getting re-created each cycle... a definate frame-rate killer! lol
Only I've done silly things like place something that only needs doing once in the main-loop before & it ends up getting re-created each cycle... a definate frame-rate killer! lol