From 03f8528315fa46c95991a34f3325d7b33ae5538c Mon Sep 17 00:00:00 2001
From: Edward Rudd <urkle@outoforder.cc>
Date: Sat, 02 May 2020 21:48:36 +0000
Subject: [PATCH] Update source to SDL2 2.0.12
---
source/test/testdraw2.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/source/test/testdraw2.c b/source/test/testdraw2.c
index 91ee7ee..865b55f 100644
--- a/source/test/testdraw2.c
+++ b/source/test/testdraw2.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org>
+ Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
@@ -256,8 +256,8 @@
}
}
if (consumed < 0) {
- SDL_Log("Usage: %s %s [--blend none|blend|add|mod] [--cyclecolor] [--cyclealpha]\n",
- argv[0], SDLTest_CommonUsage(state));
+ static const char *options[] = { "[--blend none|blend|add|mod]", "[--cyclecolor]", "[--cyclealpha]", NULL };
+ SDLTest_CommonLogUsage(state, argv[0], options);
return 1;
}
i += consumed;
--
Gitblit v1.9.3