Skip to content

Commit

Permalink
fix build after renderer api changes in latest SDL3
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed May 14, 2024
1 parent d25cee5 commit 7cae5ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/voipchat.c
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ int main(int argc, char **argv)
}

window = SDL_CreateWindow("SDL_Net3 voipchat example", 640, 480, 0);
renderer = SDL_CreateRenderer(window, NULL, 0);
renderer = SDL_CreateRenderer(window, NULL);
SDL_SetRenderDrawColor(renderer, 0, 0, 0, 255);

max_datagram = SDL_min(1200, (int) sizeof (scratch_area));
Expand Down

0 comments on commit 7cae5ed

Please sign in to comment.