Hello everyone,<br><br>just looking for a simple c code to create a minimal drawing loop.<br><br>What i want to get is the following.<br><br>Load an image<br>create a surface where to draw<br><br>draw lines on the surface<br>
clear the drawing area without cancelling the background image<br>draw again<br><br><br>eventually, is it possible to use two surface and swap the surface in a similar way of the double buffering technique?<br><br>thank you very much.<br>