Sync SDL3 wiki -> header

This commit is contained in:
SDL Wiki Bot 2023-06-16 12:22:18 +00:00
parent 26df689935
commit 739f78302b
1 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ endif()
# Create your game executable target as usual # Create your game executable target as usual
add_executable(mygame WIN32 mygame.c) 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) target_link_libraries(mygame PRIVATE SDL3::SDL3)
``` ```
@ -280,7 +280,7 @@ int main(int argc, char *argv[]) {
if (finished) { if (finished) {
break; break;
} }
SDL_SetRenderDrawColor(renderer, 80, 80, 80, SDL_ALPHA_OPAQUE); SDL_SetRenderDrawColor(renderer, 80, 80, 80, SDL_ALPHA_OPAQUE);
SDL_RenderClear(renderer); SDL_RenderClear(renderer);
SDL_RenderPresent(renderer); SDL_RenderPresent(renderer);