examples: add basic app metadata to all existing examples.
This commit is contained in:
parent
aa534c3ac3
commit
659f2f4b04
20 changed files with 40 additions and 0 deletions
|
@ -36,6 +36,8 @@ SDL_AppResult SDL_AppInit(void **appstate, int argc, char *argv[])
|
|||
{
|
||||
int i;
|
||||
|
||||
SDL_SetAppMetadata("Example Renderer Points", "1.0", "com.example.renderer-points");
|
||||
|
||||
if (!SDL_Init(SDL_INIT_VIDEO)) {
|
||||
SDL_Log("Couldn't initialize SDL: %s", SDL_GetError());
|
||||
return SDL_APP_FAILURE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue