Wiki Page Content

Differences between revisions 2 and 3
Revision 2 as of 2011-04-21 16:56:31
Size: 772
Editor: SheenaSmith
Comment: remove draft
Revision 3 as of 2011-06-29 23:36:21
Size: 818
Editor: SheenaSmith
Comment: update content for consistency - add SDL_GetError() to NULL RVs
Deletions are marked like this. Additions are marked like this.
Line 18: Line 18:
Returns a valid rendering context or NULL if there was an error. Returns a valid rendering context or NULL if there was an error; call [[SDL_GetError]]() for more information.

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

None: SDL_CreateSoftwareRenderer (last edited 2016-03-31 22:22:10 by PhilippWiesemann)

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