How to use the SDL_CreateSoftwareRenderer? |
goxl
|
hi,anyone
How to use the SDL_CreateSoftwareRenderer? can you write the code? |
|||||||||||
|
How to use the SDL_CreateSoftwareRenderer? |
Sam Lantinga
|
Here's a quick example:
      SDL_Surface *pSurface = SDL_CreateRGBSurface( 0, nWidth, nHeight, 32, 0, 0, 0, 0 );       m_pRenderer = SDL_CreateSoftwareRenderer( pSurface ); ... do any rendering using m_pRenderer, and it will be visible on the surface pSurface On Fri, Sep 5, 2014 at 7:26 PM, goxl wrote:
|
|||||||||||||
|