From 7cae5ed5a200060820d5b05ee236f837df832619 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Tue, 14 May 2024 21:11:32 +0300
Subject: [PATCH] fix build after renderer api changes in latest SDL3
---
examples/voipchat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/voipchat.c b/examples/voipchat.c
index 145e2ea..fec207d 100644
--- a/examples/voipchat.c
+++ b/examples/voipchat.c
@@ -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));