Updated Texture2D to use GL_CLAMP instead of GL_REPEAT as originally intended.