Remove lwjgl dependencies from Texture