From 66b92e95acfeafdccd6af9beb537c6e9cec0456f Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Sat, 21 Sep 2024 20:55:22 -0400
Subject: [PATCH] examples: renamed renderer sources to match other example
directories.
---
examples/CMakeLists.txt | 16 ++++++++--------
.../01-clear/{renderer-clear.c => clear.c} | 0
.../{renderer-primitives.c => primitives.c} | 0
.../03-lines/{renderer-lines.c => lines.c} | 0
.../04-points/{renderer-points.c => points.c} | 0
.../{renderer-rectangles.c => rectangles.c} | 0
.../{renderer-textures.c => textures.c} | 0
...streaming-textures.c => streaming-textures.c} | 0
...r-rotating-textures.c => rotating-textures.c} | 0
9 files changed, 8 insertions(+), 8 deletions(-)
rename examples/renderer/01-clear/{renderer-clear.c => clear.c} (100%)
rename examples/renderer/02-primitives/{renderer-primitives.c => primitives.c} (100%)
rename examples/renderer/03-lines/{renderer-lines.c => lines.c} (100%)
rename examples/renderer/04-points/{renderer-points.c => points.c} (100%)
rename examples/renderer/05-rectangles/{renderer-rectangles.c => rectangles.c} (100%)
rename examples/renderer/06-textures/{renderer-textures.c => textures.c} (100%)
rename examples/renderer/07-streaming-textures/{renderer-streaming-textures.c => streaming-textures.c} (100%)
rename examples/renderer/08-rotating-textures/{renderer-rotating-textures.c => rotating-textures.c} (100%)
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index e728e116c97c2..7dcda44fcd303 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -120,14 +120,14 @@ macro(add_sdl_example_executable TARGET)
target_include_directories(${TARGET} PRIVATE "$<TARGET_PROPERTY:SDL3::${sdl_name_component},INCLUDE_DIRECTORIES>")
endmacro()
-add_sdl_example_executable(renderer-clear SOURCES renderer/01-clear/renderer-clear.c)
-add_sdl_example_executable(renderer-primitives SOURCES renderer/02-primitives/renderer-primitives.c)
-add_sdl_example_executable(renderer-lines SOURCES renderer/03-lines/renderer-lines.c)
-add_sdl_example_executable(renderer-points SOURCES renderer/04-points/renderer-points.c)
-add_sdl_example_executable(renderer-rectangles SOURCES renderer/05-rectangles/renderer-rectangles.c)
-add_sdl_example_executable(renderer-textures SOURCES renderer/06-textures/renderer-textures.c)
-add_sdl_example_executable(renderer-streaming-textures SOURCES renderer/07-streaming-textures/renderer-streaming-textures.c)
-add_sdl_example_executable(renderer-rotating-textures SOURCES renderer/08-rotating-textures/renderer-rotating-textures.c)
+add_sdl_example_executable(renderer-clear SOURCES renderer/01-clear/clear.c)
+add_sdl_example_executable(renderer-primitives SOURCES renderer/02-primitives/primitives.c)
+add_sdl_example_executable(renderer-lines SOURCES renderer/03-lines/lines.c)
+add_sdl_example_executable(renderer-points SOURCES renderer/04-points/points.c)
+add_sdl_example_executable(renderer-rectangles SOURCES renderer/05-rectangles/rectangles.c)
+add_sdl_example_executable(renderer-textures SOURCES renderer/06-textures/textures.c)
+add_sdl_example_executable(renderer-streaming-textures SOURCES renderer/07-streaming-textures/streaming-textures.c)
+add_sdl_example_executable(renderer-rotating-textures SOURCES renderer/08-rotating-textures/rotating-textures.c)
add_sdl_example_executable(audio-simple-playback SOURCES audio/01-simple-playback/simple-playback.c)
add_sdl_example_executable(audio-simple-playback-callback SOURCES audio/02-simple-playback-callback/simple-playback-callback.c)
add_sdl_example_executable(audio-load-wav SOURCES audio/03-load-wav/load-wav.c DATAFILES ${CMAKE_CURRENT_SOURCE_DIR}/../test/sample.wav)
diff --git a/examples/renderer/01-clear/renderer-clear.c b/examples/renderer/01-clear/clear.c
similarity index 100%
rename from examples/renderer/01-clear/renderer-clear.c
rename to examples/renderer/01-clear/clear.c
diff --git a/examples/renderer/02-primitives/renderer-primitives.c b/examples/renderer/02-primitives/primitives.c
similarity index 100%
rename from examples/renderer/02-primitives/renderer-primitives.c
rename to examples/renderer/02-primitives/primitives.c
diff --git a/examples/renderer/03-lines/renderer-lines.c b/examples/renderer/03-lines/lines.c
similarity index 100%
rename from examples/renderer/03-lines/renderer-lines.c
rename to examples/renderer/03-lines/lines.c
diff --git a/examples/renderer/04-points/renderer-points.c b/examples/renderer/04-points/points.c
similarity index 100%
rename from examples/renderer/04-points/renderer-points.c
rename to examples/renderer/04-points/points.c
diff --git a/examples/renderer/05-rectangles/renderer-rectangles.c b/examples/renderer/05-rectangles/rectangles.c
similarity index 100%
rename from examples/renderer/05-rectangles/renderer-rectangles.c
rename to examples/renderer/05-rectangles/rectangles.c
diff --git a/examples/renderer/06-textures/renderer-textures.c b/examples/renderer/06-textures/textures.c
similarity index 100%
rename from examples/renderer/06-textures/renderer-textures.c
rename to examples/renderer/06-textures/textures.c
diff --git a/examples/renderer/07-streaming-textures/renderer-streaming-textures.c b/examples/renderer/07-streaming-textures/streaming-textures.c
similarity index 100%
rename from examples/renderer/07-streaming-textures/renderer-streaming-textures.c
rename to examples/renderer/07-streaming-textures/streaming-textures.c
diff --git a/examples/renderer/08-rotating-textures/renderer-rotating-textures.c b/examples/renderer/08-rotating-textures/rotating-textures.c
similarity index 100%
rename from examples/renderer/08-rotating-textures/renderer-rotating-textures.c
rename to examples/renderer/08-rotating-textures/rotating-textures.c