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/raspberry/SDL_rpivideo.c |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diff --git a/source/src/video/raspberry/SDL_rpivideo.c b/source/src/video/raspberry/SDL_rpivideo.c
index c43f49c..d077ecd 100644
--- a/source/src/video/raspberry/SDL_rpivideo.c
+++ b/source/src/video/raspberry/SDL_rpivideo.c
@@ -50,12 +50,6 @@
 #include "SDL_rpiopengles.h"
 #include "SDL_rpimouse.h"
 
-static int
-RPI_Available(void)
-{
-    return 1;
-}
-
 static void
 RPI_Destroy(SDL_VideoDevice * device)
 {
@@ -150,7 +144,6 @@
 VideoBootStrap RPI_bootstrap = {
     "RPI",
     "RPI Video Driver",
-    RPI_Available,
     RPI_Create
 };
 
@@ -203,7 +196,7 @@
 
     display.driverdata = data;
 
-    SDL_AddVideoDisplay(&display);
+    SDL_AddVideoDisplay(&display, SDL_FALSE);
 }
 
 int

--
Gitblit v1.9.3