Sorry, I didn’t write any examples using DebugDraw. If I recall, it
uses direct OpenGL drawing primitives which the SDL 2D API doesn’t
have equivalents for (right now).
It sounded like you wanted an example of SDL + Chipmunk, which is why
I referred you to my FlappyBlurrr example. It doesn’t use DebugDraw,
but it does use the normal Chipmunk API (with normal SDL 2D rendering
APIs). The collision shapes uses are pretty simple…boxes for the
pipes and a circle for the bird.
If you are using OpenGL directly in your SDL app, then I think you
should be able to use the DebugDraw stuff almost directly. But if you
want to use DebugDraw without using direct OpenGL, I suspect it could
be ported to use SDL_gpu (which also is included with Blurrr SDK).