feat: add SDL App Metadata (#2068)
* add SDL App Metadata * prefix define with LITE
This commit is contained in:
@@ -120,6 +120,8 @@ int main(int argc, char **argv) {
|
||||
signal(SIGPIPE, SIG_IGN);
|
||||
#endif
|
||||
|
||||
SDL_SetAppMetadata("Lite XL", LITE_PROJECT_VERSION_STR, "com.lite_xl.LiteXL");
|
||||
|
||||
if (!SDL_Init(SDL_INIT_VIDEO | SDL_INIT_EVENTS)) {
|
||||
fprintf(stderr, "Error initializing SDL: %s", SDL_GetError());
|
||||
exit(1);
|
||||
|
||||
Reference in New Issue
Block a user