Updated GFX(re-added code for setting terrain textuers only once)

Signed-off-by: Markus Tillman <reetopps6@hotmail.com>