|
Size: 535
Comment: null
|
Size: 531
Comment: camelcase pragma change
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 2: | Line 2: |
| #pragma disable-camelcase | #pragma camelcase off |
SDL_ClearError
Use this function to clear any previous error message.
Syntax
void SDL_ClearError(void)
Code Examples
const char *error = SDL_GetError();
if (*error) {
printf("SDL_Error : %s\n", error);
SDL_ClearError();
}
Remarks
You can add useful comments here
