Index buffer creation int Surface class should work.