From dec7875a6e23212021e4d9080330a42832dfe02a Mon Sep 17 00:00:00 2001
From: Edward Rudd <urkle@outoforder.cc>
Date: Tue, 15 Jun 2021 01:40:19 +0000
Subject: [PATCH] update SDL soruce to 2.0.14

---
 source/src/video/qnx/video.c |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/source/src/video/qnx/video.c b/source/src/video/qnx/video.c
index ff8223c..049d814 100644
--- a/source/src/video/qnx/video.c
+++ b/source/src/video/qnx/video.c
@@ -47,7 +47,7 @@
 
     SDL_zero(display);
 
-    if (SDL_AddVideoDisplay(&display) < 0) {
+    if (SDL_AddVideoDisplay(&display, SDL_FALSE) < 0) {
         return -1;
     }
 
@@ -352,13 +352,7 @@
     return device;
 }
 
-static int
-available()
-{
-    return 1;
-}
-
 VideoBootStrap QNX_bootstrap = {
     "qnx", "QNX Screen",
-    available, createDevice
+    createDevice
 };

--
Gitblit v1.9.3