Merge commit '852f2a6343518919e5ca8d3c1bbcab9f493e3cd8'

This commit is contained in:
2024-01-17 17:02:59 +01:00
1244 changed files with 50102 additions and 28146 deletions

View File

@ -93,4 +93,8 @@ find_package(SDL3 REQUIRED CONFIG COMPONENTS SDL3)
add_executable(gui-whatever WIN32 main_gui.c)
target_link_libraries(gui-whatever PRIVATE SDL3::SDL3)
if(ANDROID)
find_package(SDL3 REQUIRED CONFIG COMPONENTS Jar)
endif()
feature_summary(WHAT ALL)

View File

@ -10,7 +10,7 @@ int main(int argc, char *argv[])
return 1;
}
window = SDL_CreateWindow("Hello SDL", 640, 480, 0);
if (window == NULL) {
if (!window) {
SDL_Log("could not create window: %s\n", SDL_GetError());
return 1;
}