I have A test project and I am trying to make a test texture move.
But when It moves it leaves a trail how can I solve this???"this is my code :http://pastebin.com/Q9S9vMPh (http://pastebin.com/Q9S9vMPh).
And this is the trail that I want to remove:http://imgur.com/ZedrEis
You've got to clear your screen after each frame has been drawn by calling glClear, otherwise the previous contents will remain there and you will just draw over it (causing the trail effect). Example here (http://wiki.lwjgl.org/wiki/LWJGL_Basics_3_(The_Quad)).
Thanks it worked!!!