by Sm!rk » May 17, 2003 @ 11:12pm
Define a surface then load the image into the surface with CreateSurface, depending on what sort of image you have will determine how you use CreateSurface; there are a few different methods. Then in your ProcessFrame method Blit that surface into the backbuffer.
In general:
[some init method]
GapiSurface surface;
surface.CreateSurface(...);
[some ProcessNextFrame method]
backbuffer.Blt(x, y, &surface, ...);
Thats just off the top of my head, some parameters and such may not be correct, and spelling.