Merge commit '28d94e8b86cef2f86bff054565179fc2027db8cd' into dev
This commit is contained in:
6
external/SDL/test/testcamera.c
vendored
6
external/SDL/test/testcamera.c
vendored
@@ -36,10 +36,10 @@ static void PrintCameraSpecs(SDL_CameraID camera_id)
|
||||
if (specs) {
|
||||
int i;
|
||||
|
||||
SDL_Log("Available formats:\n");
|
||||
SDL_Log("Available formats:");
|
||||
for (i = 0; specs[i]; ++i) {
|
||||
const SDL_CameraSpec *s = specs[i];
|
||||
SDL_Log(" %dx%d %.2f FPS %s\n", s->width, s->height, (float)s->framerate_numerator / s->framerate_denominator, SDL_GetPixelFormatName(s->format));
|
||||
SDL_Log(" %dx%d %.2f FPS %s", s->width, s->height, (float)s->framerate_numerator / s->framerate_denominator, SDL_GetPixelFormatName(s->format));
|
||||
}
|
||||
SDL_free(specs);
|
||||
}
|
||||
@@ -97,8 +97,6 @@ SDL_AppResult SDL_AppInit(void **appstate, int argc, char *argv[])
|
||||
NULL,
|
||||
};
|
||||
SDLTest_CommonLogUsage(state, argv[0], options);
|
||||
SDL_Quit();
|
||||
SDLTest_CommonDestroyState(state);
|
||||
return SDL_APP_FAILURE;
|
||||
}
|
||||
i += consumed;
|
||||
|
||||
Reference in New Issue
Block a user