SDL_image: updated MSVC and Xcode project files and Android makefile for IMG_qoi.

From 780283af656c7f74b25c85590d6f749971a7fb8f Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Wed, 5 Jan 2022 08:20:02 +0300
Subject: [PATCH] updated MSVC and Xcode project files and Android makefile for
 IMG_qoi.

---
 Android.mk                                             |  3 ++-
 .../WinPhone80_VS2012/SDL_image-WinPhone80.vcxproj     |  1 +
 .../SDL_image-WinPhone80.vcxproj.filters               |  1 +
 .../WinPhone81_VS2013/SDL_image-WinPhone81.vcxproj     |  1 +
 .../SDL_image-WinPhone81.vcxproj.filters               |  1 +
 VisualC-WinRT/WinRT80_VS2012/SDL_image-WinRT80.vcxproj |  1 +
 .../WinRT80_VS2012/SDL_image-WinRT80.vcxproj.filters   |  1 +
 VisualC-WinRT/WinRT81_VS2013/SDL_image-WinRT81.vcxproj |  1 +
 .../WinRT81_VS2013/SDL_image-WinRT81.vcxproj.filters   |  1 +
 VisualC/SDL_image.vcxproj                              |  9 +++++----
 VisualC/SDL_image.vcxproj.filters                      |  3 +++
 Xcode-iOS/SDL_image.xcodeproj/project.pbxproj          |  8 ++++++++
 Xcode/SDL_image.xcodeproj/project.pbxproj              | 10 ++++++++++
 13 files changed, 36 insertions(+), 5 deletions(-)

diff --git a/Android.mk b/Android.mk
index 21a0e2d..392aba2 100644
--- a/Android.mk
+++ b/Android.mk
@@ -61,7 +61,8 @@ LOCAL_SRC_FILES :=  \
     IMG_xxx.c
 
 LOCAL_CFLAGS := -DLOAD_BMP -DLOAD_GIF -DLOAD_LBM -DLOAD_PCX -DLOAD_PNM \
-                -DLOAD_SVG -DLOAD_TGA -DLOAD_XCF -DLOAD_XPM -DLOAD_XV
+                -DLOAD_SVG -DLOAD_TGA -DLOAD_XCF -DLOAD_XPM -DLOAD_XV  \
+                -DLOAD_QOI
 LOCAL_LDLIBS :=
 LOCAL_STATIC_LIBRARIES :=
 LOCAL_SHARED_LIBRARIES := SDL2
diff --git a/VisualC-WinRT/WinPhone80_VS2012/SDL_image-WinPhone80.vcxproj b/VisualC-WinRT/WinPhone80_VS2012/SDL_image-WinPhone80.vcxproj
index 55464da..a3ce415 100644
--- a/VisualC-WinRT/WinPhone80_VS2012/SDL_image-WinPhone80.vcxproj
+++ b/VisualC-WinRT/WinPhone80_VS2012/SDL_image-WinPhone80.vcxproj
@@ -158,6 +158,7 @@
     <ClCompile Include="..\..\IMG_pcx.c" />
     <ClCompile Include="..\..\IMG_png.c" />
     <ClCompile Include="..\..\IMG_pnm.c" />
+    <ClCompile Include="..\..\IMG_qoi.c" />
     <ClCompile Include="..\..\IMG_svg.c" />
     <ClCompile Include="..\..\IMG_tga.c" />
     <ClCompile Include="..\..\IMG_tif.c" />
diff --git a/VisualC-WinRT/WinPhone80_VS2012/SDL_image-WinPhone80.vcxproj.filters b/VisualC-WinRT/WinPhone80_VS2012/SDL_image-WinPhone80.vcxproj.filters
index 03c1633..54919a7 100644
--- a/VisualC-WinRT/WinPhone80_VS2012/SDL_image-WinPhone80.vcxproj.filters
+++ b/VisualC-WinRT/WinPhone80_VS2012/SDL_image-WinPhone80.vcxproj.filters
@@ -17,5 +17,6 @@
     <ClCompile Include="..\..\IMG_xv.c" />
     <ClCompile Include="..\..\IMG_xxx.c" />
     <ClCompile Include="..\..\IMG_svg.c" />
+    <ClCompile Include="..\..\IMG_qoi.c" />
   </ItemGroup>
 </Project>
\ No newline at end of file
diff --git a/VisualC-WinRT/WinPhone81_VS2013/SDL_image-WinPhone81.vcxproj b/VisualC-WinRT/WinPhone81_VS2013/SDL_image-WinPhone81.vcxproj
index 72c9e6e..048027d 100644
--- a/VisualC-WinRT/WinPhone81_VS2013/SDL_image-WinPhone81.vcxproj
+++ b/VisualC-WinRT/WinPhone81_VS2013/SDL_image-WinPhone81.vcxproj
@@ -27,6 +27,7 @@
     <ClCompile Include="..\..\IMG_pcx.c" />
     <ClCompile Include="..\..\IMG_png.c" />
     <ClCompile Include="..\..\IMG_pnm.c" />
+    <ClCompile Include="..\..\IMG_qoi.c" />
     <ClCompile Include="..\..\IMG_svg.c" />
     <ClCompile Include="..\..\IMG_tga.c" />
     <ClCompile Include="..\..\IMG_tif.c" />
diff --git a/VisualC-WinRT/WinPhone81_VS2013/SDL_image-WinPhone81.vcxproj.filters b/VisualC-WinRT/WinPhone81_VS2013/SDL_image-WinPhone81.vcxproj.filters
index b5af797..9c0b5d1 100644
--- a/VisualC-WinRT/WinPhone81_VS2013/SDL_image-WinPhone81.vcxproj.filters
+++ b/VisualC-WinRT/WinPhone81_VS2013/SDL_image-WinPhone81.vcxproj.filters
@@ -17,5 +17,6 @@
     <ClCompile Include="..\..\IMG_xv.c" />
     <ClCompile Include="..\..\IMG_xxx.c" />
     <ClCompile Include="..\..\IMG_svg.c" />
+    <ClCompile Include="..\..\IMG_qoi.c" />
   </ItemGroup>
 </Project>
\ No newline at end of file
diff --git a/VisualC-WinRT/WinRT80_VS2012/SDL_image-WinRT80.vcxproj b/VisualC-WinRT/WinRT80_VS2012/SDL_image-WinRT80.vcxproj
index 7bcc1b2..7aa7c28 100644
--- a/VisualC-WinRT/WinRT80_VS2012/SDL_image-WinRT80.vcxproj
+++ b/VisualC-WinRT/WinRT80_VS2012/SDL_image-WinRT80.vcxproj
@@ -35,6 +35,7 @@
     <ClCompile Include="..\..\IMG_pcx.c" />
     <ClCompile Include="..\..\IMG_png.c" />
     <ClCompile Include="..\..\IMG_pnm.c" />
+    <ClCompile Include="..\..\IMG_qoi.c" />
     <ClCompile Include="..\..\IMG_svg.c" />
     <ClCompile Include="..\..\IMG_tga.c" />
     <ClCompile Include="..\..\IMG_tif.c" />
diff --git a/VisualC-WinRT/WinRT80_VS2012/SDL_image-WinRT80.vcxproj.filters b/VisualC-WinRT/WinRT80_VS2012/SDL_image-WinRT80.vcxproj.filters
index 9ccf445..c670e5c 100644
--- a/VisualC-WinRT/WinRT80_VS2012/SDL_image-WinRT80.vcxproj.filters
+++ b/VisualC-WinRT/WinRT80_VS2012/SDL_image-WinRT80.vcxproj.filters
@@ -17,6 +17,7 @@
     <ClCompile Include="..\..\IMG_xv.c" />
     <ClCompile Include="..\..\IMG_xxx.c" />
     <ClCompile Include="..\..\IMG_svg.c" />
+    <ClCompile Include="..\..\IMG_qoi.c" />
   </ItemGroup>
   <ItemGroup>
     <ClInclude Include="..\miniz.h" />
diff --git a/VisualC-WinRT/WinRT81_VS2013/SDL_image-WinRT81.vcxproj b/VisualC-WinRT/WinRT81_VS2013/SDL_image-WinRT81.vcxproj
index 42c5ac9..d086a6f 100644
--- a/VisualC-WinRT/WinRT81_VS2013/SDL_image-WinRT81.vcxproj
+++ b/VisualC-WinRT/WinRT81_VS2013/SDL_image-WinRT81.vcxproj
@@ -35,6 +35,7 @@
     <ClCompile Include="..\..\IMG_pcx.c" />
     <ClCompile Include="..\..\IMG_png.c" />
     <ClCompile Include="..\..\IMG_pnm.c" />
+    <ClCompile Include="..\..\IMG_qoi.c" />
     <ClCompile Include="..\..\IMG_svg.c" />
     <ClCompile Include="..\..\IMG_tga.c" />
     <ClCompile Include="..\..\IMG_tif.c" />
diff --git a/VisualC-WinRT/WinRT81_VS2013/SDL_image-WinRT81.vcxproj.filters b/VisualC-WinRT/WinRT81_VS2013/SDL_image-WinRT81.vcxproj.filters
index b5af797..9c0b5d1 100644
--- a/VisualC-WinRT/WinRT81_VS2013/SDL_image-WinRT81.vcxproj.filters
+++ b/VisualC-WinRT/WinRT81_VS2013/SDL_image-WinRT81.vcxproj.filters
@@ -17,5 +17,6 @@
     <ClCompile Include="..\..\IMG_xv.c" />
     <ClCompile Include="..\..\IMG_xxx.c" />
     <ClCompile Include="..\..\IMG_svg.c" />
+    <ClCompile Include="..\..\IMG_qoi.c" />
   </ItemGroup>
 </Project>
\ No newline at end of file
diff --git a/VisualC/SDL_image.vcxproj b/VisualC/SDL_image.vcxproj
index af31d49..45810c8 100644
--- a/VisualC/SDL_image.vcxproj
+++ b/VisualC/SDL_image.vcxproj
@@ -92,7 +92,7 @@
     <ClCompile>
       <Optimization>Disabled</Optimization>
       <AdditionalIncludeDirectories>external\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
-      <PreprocessorDefinitions>DLL_EXPORT;_DEBUG;WIN32;_WINDOWS;LOAD_BMP;LOAD_GIF;LOAD_JPG;LOAD_JPG_DYNAMIC="libjpeg-9.dll";LOAD_LBM;LOAD_PCX;LOAD_PNG;LOAD_PNG_DYNAMIC="libpng16-16.dll";LOAD_PNM;LOAD_SVG;LOAD_SVG;LOAD_TGA;LOAD_TIF;LOAD_TIF_DYNAMIC="libtiff-5.dll";LOAD_WEBP;LOAD_WEBP_DYNAMIC="libwebp-7.dll";LOAD_XPM;LOAD_XV;PNG_USE_DLL;ZLIB_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <PreprocessorDefinitions>DLL_EXPORT;_DEBUG;WIN32;_WINDOWS;LOAD_BMP;LOAD_GIF;LOAD_JPG;LOAD_JPG_DYNAMIC="libjpeg-9.dll";LOAD_LBM;LOAD_PCX;LOAD_PNG;LOAD_PNG_DYNAMIC="libpng16-16.dll";LOAD_PNM;LOAD_SVG;LOAD_SVG;LOAD_TGA;LOAD_TIF;LOAD_TIF_DYNAMIC="libtiff-5.dll";LOAD_WEBP;LOAD_WEBP_DYNAMIC="libwebp-7.dll";LOAD_XPM;LOAD_XV;LOAD_QOI;PNG_USE_DLL;ZLIB_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
       <WarningLevel>Level3</WarningLevel>
       <DebugInformationFormat>OldStyle</DebugInformationFormat>
@@ -120,7 +120,7 @@
     </Midl>
     <ClCompile>
       <AdditionalIncludeDirectories>external\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
-      <PreprocessorDefinitions>DLL_EXPORT;_DEBUG;WIN32;_WINDOWS;LOAD_BMP;LOAD_GIF;LOAD_JPG;LOAD_JPG_DYNAMIC="libjpeg-9.dll";LOAD_LBM;LOAD_PCX;LOAD_PNG;LOAD_PNG_DYNAMIC="libpng16-16.dll";LOAD_PNM;LOAD_SVG;LOAD_TGA;LOAD_TIF;LOAD_TIF_DYNAMIC="libtiff-5.dll";LOAD_WEBP;LOAD_WEBP_DYNAMIC="libwebp-7.dll";LOAD_XPM;LOAD_XV;PNG_USE_DLL;ZLIB_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <PreprocessorDefinitions>DLL_EXPORT;_DEBUG;WIN32;_WINDOWS;LOAD_BMP;LOAD_GIF;LOAD_JPG;LOAD_JPG_DYNAMIC="libjpeg-9.dll";LOAD_LBM;LOAD_PCX;LOAD_PNG;LOAD_PNG_DYNAMIC="libpng16-16.dll";LOAD_PNM;LOAD_SVG;LOAD_TGA;LOAD_TIF;LOAD_TIF_DYNAMIC="libtiff-5.dll";LOAD_WEBP;LOAD_WEBP_DYNAMIC="libwebp-7.dll";LOAD_XPM;LOAD_XV;LOAD_QOI;PNG_USE_DLL;ZLIB_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
       <WarningLevel>Level3</WarningLevel>
       <Optimization>Disabled</Optimization>
@@ -149,7 +149,7 @@
     </Midl>
     <ClCompile>
       <AdditionalIncludeDirectories>external\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
-      <PreprocessorDefinitions>DLL_EXPORT;NDEBUG;WIN32;_WINDOWS;LOAD_BMP;LOAD_GIF;LOAD_JPG;LOAD_JPG_DYNAMIC="libjpeg-9.dll";LOAD_LBM;LOAD_PCX;LOAD_PNG;LOAD_PNG_DYNAMIC="libpng16-16.dll";LOAD_PNM;LOAD_SVG;LOAD_TGA;LOAD_TIF;LOAD_TIF_DYNAMIC="libtiff-5.dll";LOAD_WEBP;LOAD_WEBP_DYNAMIC="libwebp-7.dll";LOAD_XPM;LOAD_XV;PNG_USE_DLL;ZLIB_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <PreprocessorDefinitions>DLL_EXPORT;NDEBUG;WIN32;_WINDOWS;LOAD_BMP;LOAD_GIF;LOAD_JPG;LOAD_JPG_DYNAMIC="libjpeg-9.dll";LOAD_LBM;LOAD_PCX;LOAD_PNG;LOAD_PNG_DYNAMIC="libpng16-16.dll";LOAD_PNM;LOAD_SVG;LOAD_TGA;LOAD_TIF;LOAD_TIF_DYNAMIC="libtiff-5.dll";LOAD_WEBP;LOAD_WEBP_DYNAMIC="libwebp-7.dll";LOAD_XPM;LOAD_XV;LOAD_QOI;PNG_USE_DLL;ZLIB_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
       <WarningLevel>Level3</WarningLevel>
       <EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet>
@@ -175,7 +175,7 @@
     </Midl>
     <ClCompile>
       <AdditionalIncludeDirectories>external\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
-      <PreprocessorDefinitions>DLL_EXPORT;NDEBUG;WIN32;_WINDOWS;LOAD_BMP;LOAD_GIF;LOAD_JPG;LOAD_JPG_DYNAMIC="libjpeg-9.dll";LOAD_LBM;LOAD_PCX;LOAD_PNG;LOAD_PNG_DYNAMIC="libpng16-16.dll";LOAD_PNM;LOAD_SVG;LOAD_TGA;LOAD_TIF;LOAD_TIF_DYNAMIC="libtiff-5.dll";LOAD_WEBP;LOAD_WEBP_DYNAMIC="libwebp-7.dll";LOAD_XPM;LOAD_XV;PNG_USE_DLL;ZLIB_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <PreprocessorDefinitions>DLL_EXPORT;NDEBUG;WIN32;_WINDOWS;LOAD_BMP;LOAD_GIF;LOAD_JPG;LOAD_JPG_DYNAMIC="libjpeg-9.dll";LOAD_LBM;LOAD_PCX;LOAD_PNG;LOAD_PNG_DYNAMIC="libpng16-16.dll";LOAD_PNM;LOAD_SVG;LOAD_TGA;LOAD_TIF;LOAD_TIF_DYNAMIC="libtiff-5.dll";LOAD_WEBP;LOAD_WEBP_DYNAMIC="libwebp-7.dll";LOAD_XPM;LOAD_XV;LOAD_QOI;PNG_USE_DLL;ZLIB_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
       <WarningLevel>Level3</WarningLevel>
       <EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet>
@@ -270,6 +270,7 @@
       <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
       <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
     </ClCompile>
+    <ClCompile Include="..\IMG_qoi.c" />
     <ClCompile Include="..\IMG_svg.c" />
     <ClCompile Include="..\IMG_tga.c">
       <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
diff --git a/VisualC/SDL_image.vcxproj.filters b/VisualC/SDL_image.vcxproj.filters
index f097cc8..ee98dd8 100644
--- a/VisualC/SDL_image.vcxproj.filters
+++ b/VisualC/SDL_image.vcxproj.filters
@@ -50,6 +50,9 @@
     <ClCompile Include="..\IMG_svg.c">
       <Filter>Sources</Filter>
     </ClCompile>
+    <ClCompile Include="..\IMG_qoi.c">
+      <Filter>Sources</Filter>
+    </ClCompile>
   </ItemGroup>
   <ItemGroup>
     <Filter Include="Sources">
diff --git a/Xcode-iOS/SDL_image.xcodeproj/project.pbxproj b/Xcode-iOS/SDL_image.xcodeproj/project.pbxproj
index c37c000..d47c6ae 100644
--- a/Xcode-iOS/SDL_image.xcodeproj/project.pbxproj
+++ b/Xcode-iOS/SDL_image.xcodeproj/project.pbxproj
@@ -33,6 +33,8 @@
 
 /* Begin PBXBuildFile section */
 		00A06D7812FFBFD5009F1A11 /* SDL_image.h in Headers */ = {isa = PBXBuildFile; fileRef = 1014BAEA010A4B677F000001 /* SDL_image.h */; };
+		63485820278556D700F15A78 /* IMG_qoi.c in Sources */ = {isa = PBXBuildFile; fileRef = 6348581F278556D700F15A78 /* IMG_qoi.c */; };
+		63485821278556D700F15A78 /* IMG_qoi.c in Sources */ = {isa = PBXBuildFile; fileRef = 6348581F278556D700F15A78 /* IMG_qoi.c */; };
 		AA126A9A1617A4A4005ABC8F /* IMG_bmp.c in Sources */ = {isa = PBXBuildFile; fileRef = AA126A891617A4A4005ABC8F /* IMG_bmp.c */; };
 		AA126A9B1617A4A4005ABC8F /* IMG_gif.c in Sources */ = {isa = PBXBuildFile; fileRef = AA126A8A1617A4A4005ABC8F /* IMG_gif.c */; };
 		AA126A9C1617A4A4005ABC8F /* IMG_ImageIO.m in Sources */ = {isa = PBXBuildFile; fileRef = AA126A8B1617A4A4005ABC8F /* IMG_ImageIO.m */; };
@@ -72,6 +74,7 @@
 
 /* Begin PBXFileReference section */
 		1014BAEA010A4B677F000001 /* SDL_image.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_image.h; path = ../SDL_image.h; sourceTree = SOURCE_ROOT; };
+		6348581F278556D700F15A78 /* IMG_qoi.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = IMG_qoi.c; path = ../IMG_qoi.c; sourceTree = "<group>"; };
 		AA126A891617A4A4005ABC8F /* IMG_bmp.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = IMG_bmp.c; path = ../IMG_bmp.c; sourceTree = "<group>"; };
 		AA126A8A1617A4A4005ABC8F /* IMG_gif.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = IMG_gif.c; path = ../IMG_gif.c; sourceTree = "<group>"; };
 		AA126A8B1617A4A4005ABC8F /* IMG_ImageIO.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = IMG_ImageIO.m; path = ../IMG_ImageIO.m; sourceTree = "<group>"; };
@@ -158,6 +161,7 @@
 				AA126A8E1617A4A4005ABC8F /* IMG_pcx.c */,
 				AA126A8F1617A4A4005ABC8F /* IMG_png.c */,
 				AA126A901617A4A4005ABC8F /* IMG_pnm.c */,
+				6348581F278556D700F15A78 /* IMG_qoi.c */,
 				AA50AA481F9C7DB6003B9C0C /* IMG_svg.c */,
 				AA126A911617A4A4005ABC8F /* IMG_tga.c */,
 				AA126A921617A4A4005ABC8F /* IMG_tif.c */,
@@ -343,6 +347,7 @@
 				AA53143D1FE0FA910025C9BE /* IMG_xxx.c in Sources */,
 				AA53143E1FE0FA910025C9BE /* IMG.c in Sources */,
 				AA53143F1FE0FA910025C9BE /* IMG_svg.c in Sources */,
+				63485821278556D700F15A78 /* IMG_qoi.c in Sources */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
@@ -367,6 +372,7 @@
 				AA126AA91617A4A4005ABC8F /* IMG_xxx.c in Sources */,
 				AA126AAA1617A4A4005ABC8F /* IMG.c in Sources */,
 				AA50AA491F9C7DB6003B9C0C /* IMG_svg.c in Sources */,
+				63485820278556D700F15A78 /* IMG_qoi.c in Sources */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
@@ -405,6 +411,7 @@
 					LOAD_PCX,
 					LOAD_PNG,
 					LOAD_PNM,
+					LOAD_QOI,
 					LOAD_SVG,
 					LOAD_TGA,
 					LOAD_TIF,
@@ -470,6 +477,7 @@
 					LOAD_PCX,
 					LOAD_PNG,
 					LOAD_PNM,
+					LOAD_QOI,
 					LOAD_SVG,
 					LOAD_TGA,
 					LOAD_TIF,
diff --git a/Xcode/SDL_image.xcodeproj/project.pbxproj b/Xcode/SDL_image.xcodeproj/project.pbxproj
index 9b0b58e..21d4aa3 100644
--- a/Xcode/SDL_image.xcodeproj/project.pbxproj
+++ b/Xcode/SDL_image.xcodeproj/project.pbxproj
@@ -8,6 +8,8 @@
 
 /* Begin PBXBuildFile section */
 		007288A80F0DA79800C302A9 /* ApplicationServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 007288A60F0DA79800C302A9 /* ApplicationServices.framework */; };
+		6313BF532785566D00F268AD /* IMG_qoi.c in Sources */ = {isa = PBXBuildFile; fileRef = 6313BF522785566D00F268AD /* IMG_qoi.c */; };
+		6313BF542785566D00F268AD /* IMG_qoi.c in Sources */ = {isa = PBXBuildFile; fileRef = 6313BF522785566D00F268AD /* IMG_qoi.c */; };
 		AA23FC7D20A2A1B90017DFB9 /* IMG_svg.c in Sources */ = {isa = PBXBuildFile; fileRef = AA50AA461F9C7C50003B9C0C /* IMG_svg.c */; };
 		AA50AA471F9C7C50003B9C0C /* IMG_svg.c in Sources */ = {isa = PBXBuildFile; fileRef = AA50AA461F9C7C50003B9C0C /* IMG_svg.c */; };
 		AA579DF2161C07E6005F809B /* IMG_bmp.c in Sources */ = {isa = PBXBuildFile; fileRef = AA579DE2161C07E6005F809B /* IMG_bmp.c */; };
@@ -77,6 +79,7 @@
 		007288A60F0DA79800C302A9 /* ApplicationServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ApplicationServices.framework; path = /System/Library/Frameworks/ApplicationServices.framework; sourceTree = "<absolute>"; };
 		1014BAEA010A4B677F000001 /* SDL_image.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_image.h; path = ../SDL_image.h; sourceTree = SOURCE_ROOT; };
 		61F85449145A19BC002CA294 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
+		6313BF522785566D00F268AD /* IMG_qoi.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = IMG_qoi.c; path = ../IMG_qoi.c; sourceTree = "<group>"; };
 		AA50AA461F9C7C50003B9C0C /* IMG_svg.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = IMG_svg.c; path = ../IMG_svg.c; sourceTree = "<group>"; };
 		AA579DE2161C07E6005F809B /* IMG_bmp.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = IMG_bmp.c; path = ../IMG_bmp.c; sourceTree = "<group>"; };
 		AA579DE3161C07E6005F809B /* IMG_gif.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = IMG_gif.c; path = ../IMG_gif.c; sourceTree = "<group>"; };
@@ -178,6 +181,7 @@
 				AA579DE7161C07E6005F809B /* IMG_pcx.c */,
 				AA579DE8161C07E6005F809B /* IMG_png.c */,
 				AA579DE9161C07E6005F809B /* IMG_pnm.c */,
+				6313BF522785566D00F268AD /* IMG_qoi.c */,
 				AA50AA461F9C7C50003B9C0C /* IMG_svg.c */,
 				AA579DEA161C07E6005F809B /* IMG_tga.c */,
 				AA579DEB161C07E6005F809B /* IMG_tif.c */,
@@ -427,6 +431,7 @@
 				AA579E0E161C07E7005F809B /* IMG_xxx.c in Sources */,
 				AA579E10161C07E7005F809B /* IMG.c in Sources */,
 				AA50AA471F9C7C50003B9C0C /* IMG_svg.c in Sources */,
+				6313BF532785566D00F268AD /* IMG_qoi.c in Sources */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
@@ -451,6 +456,7 @@
 				AA579E0F161C07E7005F809B /* IMG_xxx.c in Sources */,
 				AA579E11161C07E7005F809B /* IMG.c in Sources */,
 				AA23FC7D20A2A1B90017DFB9 /* IMG_svg.c in Sources */,
+				6313BF542785566D00F268AD /* IMG_qoi.c in Sources */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
@@ -483,6 +489,7 @@
 					LOAD_PCX,
 					LOAD_PNG,
 					LOAD_PNM,
+					LOAD_QOI,
 					LOAD_SVG,
 					LOAD_TGA,
 					LOAD_TIF,
@@ -546,6 +553,7 @@
 					LOAD_PCX,
 					LOAD_PNG,
 					LOAD_PNM,
+					LOAD_QOI,
 					LOAD_SVG,
 					LOAD_TGA,
 					LOAD_TIF,
@@ -607,6 +615,7 @@
 					LOAD_PCX,
 					LOAD_PNG,
 					LOAD_PNM,
+					LOAD_QOI,
 					LOAD_SVG,
 					LOAD_TGA,
 					LOAD_TIF,
@@ -669,6 +678,7 @@
 					LOAD_PCX,
 					LOAD_PNG,
 					LOAD_PNM,
+					LOAD_QOI,
 					LOAD_SVG,
 					LOAD_TGA,
 					LOAD_TIF,