Split up the primitives source in SDL_GL