|  | SDL_BlitSurface passed a null surface |  | 
|  |  | 
| Peter87 
   |  | 
 SDL_BlitSurface will not automatically create a surface or anything. You'll have to create the surface you want to blit to before calling SDL_BlitSurface. You should probably use the SDL_CreateRGBSurface to create the surface. 
 | ||||||||||||
| 
 | ||||||||||||||
|  |  | 
| richardm 
   |  | 
 Great. That worked perfectly. I created a surface the exact size needed then saved the surface to an bmp file. | ||||||||||
| 
 | ||||||||||||




