SDL_CreateSoftwareRenderer

Use this function to create a 2D software rendering context for a surface.

Syntax

SDL_Renderer* SDL_CreateSoftwareRenderer(SDL_Surface* surface)

Function Parameters

surface

the SDL_Surface structure representing the surface where rendering is done

Return Value

Returns a valid rendering context or NULL if there was an error; call SDL_GetError() for more information.

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryRender

SDL_CreateSoftwareRenderer (last edited 2011-06-29 23:36:21 by SheenaSmith)

Feedback
Please include your contact information if you'd like to receive a reply.
Submit