From 739f78302ba96afe88b84592a909c6b6a37644c6 Mon Sep 17 00:00:00 2001 From: SDL Wiki Bot Date: Fri, 16 Jun 2023 12:22:18 +0000 Subject: [PATCH] Sync SDL3 wiki -> header --- docs/README-cmake.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/README-cmake.md b/docs/README-cmake.md index 2fd950b27a..098f35d2d6 100644 --- a/docs/README-cmake.md +++ b/docs/README-cmake.md @@ -63,7 +63,7 @@ endif() # Create your game executable target as usual add_executable(mygame WIN32 mygame.c) -# Link to the actual SDL3 library. +# Link to the actual SDL3 library. target_link_libraries(mygame PRIVATE SDL3::SDL3) ``` @@ -280,7 +280,7 @@ int main(int argc, char *argv[]) { if (finished) { break; } - + SDL_SetRenderDrawColor(renderer, 80, 80, 80, SDL_ALPHA_OPAQUE); SDL_RenderClear(renderer); SDL_RenderPresent(renderer);