From 92cd9fc4bbf238da48b64c0662977091a28d5843 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Tue, 27 Aug 2024 22:32:20 +0300
Subject: [PATCH] cmake/test/main.c: Updated for SDL3 change to use SDL_bool
return.
---
cmake/test/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmake/test/main.c b/cmake/test/main.c
index 3d73413..202026a 100644
--- a/cmake/test/main.c
+++ b/cmake/test/main.c
@@ -9,7 +9,7 @@ int main(int argc, char *argv[])
(void)argv;
int version;
- if (SDL_Init(0) < 0) {
+ if (!SDL_Init(0)) {
SDL_Log("SDL_Init: could not initialize SDL: %s", SDL_GetError());
return 1;
}