|
Size: 772
Comment: remove draft
|
Size: 818
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.
Contents
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
